If your MODx installation is in a subdirctory, and its parent has a .htaccess with RewriteEngine On already it will cause this error.
It is also possible that your server doesn’t have .htaccess enabled.
Actually I suspect the problem is even simplier... If your on shared hosting most of them don’t offer gzip support so you need to disable it...
Comment out these two lines:
php_flag zlib.output_compression On
php_value zlib.output_compression_level 5
(Add a # in front to comment out)
-
- 21 Posts
I installed Modx CMS in the main directory, and the default .htaccess came with those lines commented and it didn’t work.
Now i know this might sound strange but for some reason, the .htaccess file has been deleted and the website works fine without it and friendly URLs are working perfectly. Will this be SEO or do i need the .htaccess file?
I’m quite confussed as to how this is working without the file, i’m guessing the web host support staff deleted the .htaccess, but i’m suprised the website is working without it.... any suggestions or clues as to how this happened? or happening even?
Are you sure that it’s been deleted? Normally files beginning with a . are not displayed; you have to configure your ftp client to show hidden or system files.
-
- 24,544 Posts
It must still be there because the FURLs can’t work without it.
My guess is that commenting out the two php directives fixed things and you didn’t see it until your browser cache cleared.