Greg Ward wrote:
> On 05 November 2003, Ashish Shrestha said:
>>I just installed Quixote by unzipping it to a directory.
>>Copied the demo.cgi and demo.conf to my cgi-bin directory.
>>Modified demo.cgi to add the parent directory of the quixote directory
>>in the sys.path
>>Accessed the demo page with the browser:
>>http://localhost/cgi-bin/demo.cgi
>>
>>Two log files of 0 bytes are created and I get an exception.
>>TraversalError -- invalid literal for int():cgi-bin
>
>
> Where are those log files created? Who owns them? What UID do CGI
> scripts run as? Does that UID have write access to the log files?
The system is a Windows XP machine with a custom web-server that handles
CGI.
The log files are created in c:\ and certainly the whole world has
access to it :)
> Where do you see an exception? Is there a traceback? If so, please
> supply it.
>
Well, there is no traceback. Nothing. If you tell me how to get one, I
could do it.
All I have done is installed Quixote in c:\quixote by unzipping.
copied demo.cgi to cgi-bin of the webserver.
modified demo.cgi to add
sys.path.append('C:\\')
and accessed the demo.cgi using a browser.
>>Can someone help me figure out what is happening?
> Not without a few more clues...
If there is anything in particular you want to know?
I am using Quixote 0.6.1 and Python 2.3
Ashish