Results 1 to 1 of 1
I have the following in my httpd.conf:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
This code was generated for me by ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-01-2006 #1Linux Newbie
- Join Date
- Aug 2005
- Location
- Sterling, VA
- Posts
- 100
mod_rewrite question
I have the following in my httpd.conf:
This code was generated for me by WordPress (some blog software). It is suppose to look at the requested filename and, if it doesn't exist, use index.php instead. But it isn't working. It is as if the RewriteCond directives are being ignored. For example, /2006/03/22/post-title becomes index.php/2006/03/22/post-title because the file didn't really exist.Code:<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Does anybody know what might be going wrong? Any help would be very appreciated.- EndianX -


Reply With Quote
