Τη Σάββατο, 15 Σεπτεμβρίου 2012 7:56:31 μ.μ. UTC+3, ο χρήστης Chris Angelico 
έγραψε:
> On Sun, Sep 16, 2012 at 2:53 AM, Νικόλαος Κούρας <nikos.gr...@gmail.com> 
> wrote:
> 
> > The 'page' form field is of couse neccessary because how else the python 
> > counter.py script would know which html file triggered it so to present it 
> > and do its log thing?(i intend to create a few html files)
> 
> >
> 
> > I still do not see why you say that it might be redundant.
> 
> 
> 
> You create one 'page' value in the form, and another one in the RewriteRule.

i changes the .htaccess to 

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^/?(.+\.html) /cgi-bin/counter.py?htmlpage=$1 [L,PT,QSA]

but now my webpage presents the error right away.
I dont understand.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to