17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 5079 Views |
-
Mod_rewrite fix for some Apache servers. (Try this if rewrite doesn't work even if your server has mod_rewrite)

28 July 2007 at 9:32pm
Replace the Defaults:
RewriteRule \.js$ - [L]
RewriteRule \.css$ - [L]
RewriteRule \.png$ - [L]
RewriteRule \.jpg$ - [L]
RewriteRule \.gif$ - [L]
RewriteRule \.php$ - [L]with:
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
They are functionally equivalent (to my knowledge), the later works on a wider range of Apache versions.
-
Re: Mod_rewrite fix for some Apache servers. (Try this if rewrite doesn't work even if your server has mod_rewrite)

31 July 2007 at 10:52am
Thanks, I'll look into using this instead for the installer.
-
Re: Mod_rewrite fix for some Apache servers. (Try this if rewrite doesn't work even if your server has mod_rewrite)

31 July 2007 at 3:25pm
Cheers for the Patch Jeremy
-
Re: Mod_rewrite fix for some Apache servers. (Try this if rewrite doesn't work even if your server has mod_rewrite)

5 August 2007 at 1:27pm
I've managed to get SS working on one of my servers but on another one it gives me the usual:
mod_rewrite is enabled in your httpd.conf
AllowOverride is enabled for the current path.How do i apply this patch?
-
Re: Mod_rewrite fix for some Apache servers. (Try this if rewrite doesn't work even if your server has mod_rewrite)

5 August 2007 at 2:45pm
You should be able to do the above change in the .htaccess file where SS is installed.
Cheers,
Sean -
Re: Mod_rewrite fix for some Apache servers. (Try this if rewrite doesn't work even if your server has mod_rewrite)

6 August 2007 at 5:15am
I think the problem is the AllowOverride, how do i turn this on?
-
Re: Mod_rewrite fix for some Apache servers. (Try this if rewrite doesn't work even if your server has mod_rewrite)

6 August 2007 at 8:56am Last edited: 6 August 2007 9:01am
I have finished my first site, www.macgregorforestandgarden.co.uk
What kind of comment do i add to .htaccess for AllowOverride?
Does it have to be specific?
-
Re: Mod_rewrite fix for some Apache servers. (Try this if rewrite doesn't work even if your server has mod_rewrite)

6 August 2007 at 12:10pm
AllowOverride is configured in the httpd.conf file, not in the .htaccess. If you don't have access to it, you'll have to contact the server administrator.
| 5079 Views | ||
| Go to Top | Next > |




