Question : How can I run a php script before all other processing in the htaccess file, think its a regex problem?

I'm trying to process any urls with actual pages e.g. index.php support.html

I have been told this should work...

RewriteEngine On
#RewriteRule ^(.+php.*ac=1) - [L]
RewriteCond %{QUERY_STRING} !ac
RewriteRule ^(.+php.*) \php\accesscounter.php [L]

However it doesn't

Any ideas?

Answer : How can I run a php script before all other processing in the htaccess file, think its a regex problem?

In that case I would guess it's either a bad adapter or it's just not compatible with your computer.

Can you try it in another computer to test?

Random Solutions  
 
programming4us programming4us