# Cant log in but get: ModSecurity: XML: Unable to evaluate xpath expression

**URL:** <https://help.nextcloud.com/t/cant-log-in-but-get-modsecurity-xml-unable-to-evaluate-xpath-expression/38792>\
**Category:** ℹ️ Support\
**Tags:** modsecurity\
**Created:** [October 10, 2018, 9:07am UTC](https://help.nextcloud.com/t/cant-log-in-but-get-modsecurity-xml-unable-to-evaluate-xpath-expression/38792 "2018-10-10T09:07:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevanjr](https://help.nextcloud.com/user_avatar/help.nextcloud.com/kevanjr/32/11292_2.png) [@kevanjr](https://help.nextcloud.com/u/kevanjr)\
**Post date:** [October 10, 2018, 9:07am UTC](https://help.nextcloud.com/t/cant-log-in-but-get-modsecurity-xml-unable-to-evaluate-xpath-expression/38792/1 "2018-10-10T09:07:16Z")

</div>

Hello,  
I have installed NextCloud on a shared server and it went without a hitch. I was able to log in, configure my account and added files. Unfortunately this morning I am unable to log in and get this error when I attempt:  
The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

### Technical details

- Remote Address: 73.131.93.27
- Request ID: W729GUWimgcAAKYLOTkAAAAF

Here is the error log o the incident:  
Wed Oct 10 00:00:18 2018] [error] [client 75.40.88.108] [client 75.40.88.108] ModSecurity: XML: Unable to evaluate xpath expression. [hostname &quot;[link-sky.com](http://link-sky.com)&quot;] [uri &quot;/remote.php/dav/files/Skyadmin/&quot;]

Naturally I sent this to my server admins at liquidnet and they said they were not familiar with next cloud but that I could turn mod security on and off. Tried that and neither state helped.

Not sure what could have changed overnight!

## Server info:

Operating System:

**Debian GNU/Linux**

Physical IP Address:

**162.210.102.41**

Default Route:

**162.210.102.41**

Sendmail Path:

**/usr/sbin/sendmail**

Perl Path:

**/usr/bin/perl**

Perl Version:

**v5.24.1**

PHP Version:

**7.1.22**

MySQL Host:

**localhost**

MySQL version:

**5.7.23**

PostgreSQL Host:

**[1.pgsqlserver.com](http://1.pgsqlserver.com)**

PostgreSQL Version:

**9.6.3**

```auto
FYI- The desktop app works fine on my Mac, just not able to log in in browsers. I am grateful for any help. I cant even find information about the error anywhere. 
Seems like this is a server error so perhaps you can help me guide them? Thank you very much in advance!! Ken
```

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 7:58am UTC](https://help.nextcloud.com/t/cant-log-in-but-get-modsecurity-xml-unable-to-evaluate-xpath-expression/38792/2 "2024-12-04T07:58:42Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 3:24pm UTC](https://help.nextcloud.com/t/cant-log-in-but-get-modsecurity-xml-unable-to-evaluate-xpath-expression/38792/3 "2024-12-09T15:24:45Z")

</div>


