mod_rewrite, probably a server setup problem - 500 points
Posted on 2006-10-28
I've tried everything and can't get it to work. Running PHP5 on Apache/2.2.0 (Fedora)
I have the mod_rewrite module loaded in Apache, checked with phpinfo()
I am using a .htaccess file, which has full permissions 777 set, with a simple bit of code:
This creates an Internal Server 500 error. Have also tried it without the, Options +FollowSymLinks. So just:
Still creates a 500. There are no spaces in .htaccess file. I have tried a set of rules too, but thought I would try with the very least amount of data to start with.
I have edited httpd.conf - uncommenting:
LoadModule rewrite_module modules/mod_rewrite.so
Did try adding AddModule mod_rewrite.c but crashed the whole server, later found out that's for Apache 1x not 2x, doh.
Have gone through httpd.conf and changed all instances of:
Have restarted httpd and rebooted-restarted the server.
Still no joy, don't know what else to try, if I look at another mod_rewrite tutorial explaining the same steps I'm going to crack, lol.
So then, for an aptly assigned 500 points, can you help me get mod_rewrite working?