Associate
- Joined
- 19 Jun 2003
- Posts
- 1,680
- Location
- West Yorks, UK
Hi all,
I run a Linux web server (Fedora Core 3, Apache 2 etc etc). I'm trying to use mod_rewrite on some of my sites, but when I add "ReWriteEngine On" to my .htaccess file, I get a 500 Internal Server Error. I have "Options All" in my main httpd.conf and then in my vhost.conf (where virtual sites info is kept), I have:
Have I done something daft? The mod_rewrite is definately being loaded - I wondered if I hadn't got the right options or overrides in place? Any ideas?
Matt
I run a Linux web server (Fedora Core 3, Apache 2 etc etc). I'm trying to use mod_rewrite on some of my sites, but when I add "ReWriteEngine On" to my .htaccess file, I get a 500 Internal Server Error. I have "Options All" in my main httpd.conf and then in my vhost.conf (where virtual sites info is kept), I have:
Code:
<Location />
Options +Includes
</Location>
<Directory /home/default/websitename.co.uk/user/htdocs/>
AllowOverride AuthConfig Limit Indexes
</Directory>
Have I done something daft? The mod_rewrite is definately being loaded - I wondered if I hadn't got the right options or overrides in place? Any ideas?
Matt