Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^6: Using filepath method to identify an .html page

by Nik
on Jan 22, 2013 at 17:48 UTC ( #1014743=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    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]
    
  2. or download this
    pin = int( htmlpage.encode("hex"), 16 ) % 10000 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014743]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-10-22 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (272 votes). Check out past polls.

    Notices?