in reply to Re^5: Using filepath method to identify an .html page
in thread Using filepath method to identify an .html page
But my friend, why bother creating a custom function?RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?superhost\.gr$ RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^/?(.+\.html) /cgi-bin/counter.py?htmlpage=%{REQUEST_FILEN +AME} [L,PT,QSA]
pin = int( htmlpage.encode("hex"), 16 ) % 10000
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Using filepath method to identify an .html page
by blue_cowdawg (Monsignor) on Jan 22, 2013 at 18:13 UTC | |
by Nik (Initiate) on Jan 22, 2013 at 18:19 UTC | |
by blue_cowdawg (Monsignor) on Jan 22, 2013 at 19:23 UTC | |
by karlgoethebier (Abbot) on Jan 22, 2013 at 22:02 UTC |