Do you have a question? Post it now! No Registration Necessary. Now with pictures!
March 19, 2011, 1:27 pm
rate this thread
RewriteCond % !-f
RewriteCond % !-d
RewriteRule . /index.php [L]
Deny from all
Allow from 127.0.0.1
The idea is to have index.php process all requests.
The problem is that this,
Causes a 403 forbidden message saying "You don't have permission to
access /edit/user/genericfile.txt on this server."
I read some stuff in the mod_rewrite doc that says url replacement
happens before authorization checking and some kind of lookahead is
needed, but I didn't much understand what to do about that... there is
no such thing as the "/edit/user/genericfile.txt" file or directory or
anything else on the server... it's a virtual path that gets
translated by the index.php code.
no aluminum siding offers today
- » IE1 through IE9 (Code Project Video) and Teranews outage
- — Previous thread in » Webmaster Forum