Re: apache htaccess mod rewrite with php querystring urls

From: Date: Thu, 12 Aug 2004 12:19:07 +0000
Subject: Re: apache htaccess mod rewrite with php querystring urls
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-193544@lists.php.net to get a copy of this message
[A-Za-z0-9] will only match one character. Try this : RewriteEngine on RewriteRule [A-Za-z0-9]+\.html$ /index.php?page=$1
Ah, good point there. Thanks. However, I'm still experiencing problems displaying any page contained within the folder which holds this htaccess file. I get a 403 Forbidden Access error everytime. Your example above is the only code contained in my file. What could be the cause of this, and how can I fix it? thanks

« previous php.general (#193544) next »