mccarre
May 30th, 2009, 10:27 AM
SOLVED [solution on third post, thanks to a nudge by Sanemanmad]
I wasn't sure which category to put this in, so I put it in the category for "installation"s =P.
I can't get mod_rewrite to work for the life of me. I have apache2 installed and php5. my webpages show up fine. Actually I put this stuff in point form.
-apache2, php5, and mysql5 are installed.
-phpinfo shows mod_rewrite, proxy, and proxy_html are enabled module of apache2.
-my httpd.conf has a line for 404 error documents and that works, so I know the file is being read and used.
-I have my modrewrite script in httpd.conf and, although I'm not copying and pasting this, the code was generally:
RewriteEngine on
RewriteRule ^about.php$ blog.php
(I did this strictly for testing purposes)
-I also have the rewrite error handling level on and set to 9. It at least made a file for the logs, but hasn't put anything in the files yet.
-I set allowOverride for that site-enabled folder file to be all for every directory except "/"
I'm at wits end... I've tried restarting apache2 so many times =x. about.php just isn't going to blog.php.
Anyone got any suggestions or maybe straight up knows what is going on =P. Mod rewrite gave me troubles the last time I tried to turn it on... to me it's a mysterious beast that likes to tease me =x.
I wasn't sure which category to put this in, so I put it in the category for "installation"s =P.
I can't get mod_rewrite to work for the life of me. I have apache2 installed and php5. my webpages show up fine. Actually I put this stuff in point form.
-apache2, php5, and mysql5 are installed.
-phpinfo shows mod_rewrite, proxy, and proxy_html are enabled module of apache2.
-my httpd.conf has a line for 404 error documents and that works, so I know the file is being read and used.
-I have my modrewrite script in httpd.conf and, although I'm not copying and pasting this, the code was generally:
RewriteEngine on
RewriteRule ^about.php$ blog.php
(I did this strictly for testing purposes)
-I also have the rewrite error handling level on and set to 9. It at least made a file for the logs, but hasn't put anything in the files yet.
-I set allowOverride for that site-enabled folder file to be all for every directory except "/"
I'm at wits end... I've tried restarting apache2 so many times =x. about.php just isn't going to blog.php.
Anyone got any suggestions or maybe straight up knows what is going on =P. Mod rewrite gave me troubles the last time I tried to turn it on... to me it's a mysterious beast that likes to tease me =x.