invisibled Posted May 3, 2007 Share Posted May 3, 2007 hey everybody, i have been developing in php for 2 years. I've recently been playing with mod_rewrite but it never works. I've followed many tutorials online and it still doesn't work. Oh yeah, and I'm doing this all on localhost. my htaccess file is in the root directory of my website and has this in it. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /invisibledesign/wordpress/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /invisibledesign/wordpress/index.php [L] </IfModule> since it doesn't work in any sites I've tried (also tried in wordpress), i think it must be something with my configuration of my server. in my httpd.config these two things are enabled. LoadModule rewrite_module libexec/httpd/mod_rewrite.so AddModule mod_rewrite.c is there anything i have to change in the httpd.config. Can anybody throw ideas at me, to get it working. Even if there completely noob ideas, i wouldn't rule anything out Laughing. Quote Link to comment https://forums.phpfreaks.com/topic/49891-mod_rewrite-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.