Re: Can anyone explain this stuff in my apache error_log please
Chris G <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <20071010142401.GA94323@newred> |
On Wed, Oct 10, 2007 at 12:01:33PM +0100, Chris G wrote:
> [Wed Oct 10 08:55:43 2007] [error] [client 193.128.168.194] fullPath is /home/chris/webdev/info/
> [Wed Oct 10 08:55:43 2007] [error] [client 193.128.168.194] editFile is /home/chris/webdev/info//index.rst
> [Wed Oct 10 08:55:50 2007] [error] [client 193.128.168.194] fullPath is /home/chris/webdev/info/Home/index, referer: http://home.isbd.net/cgi-bin/pyblosxom.cgi
> [Wed Oct 10 08:55:50 2007] [error] [client 193.128.168.194] editFile is /home/chris/webdev/info/Home/index.rst, referer: http://home.isbd.net/cgi-bin/pyblosxom.cgi
>
> What's the producer/cause of those second two lines with "referer:"
> in them? As far as I know my plugin python is only writing the first
> two and somehow python/apache/pyblosxom is adding the second two.
> More to the point why are the values of 'fullPath' and 'editFile'
> different? The second two lines are followed by a full error traceback
> of several lines to an error that relates to the 'wrong' values of
> fullPath and editFile.
>
Well I'm still interested in why the above lines appear but see below
for a partial explanation/fix (my fault).
>
> This may relate to another problem I have, the plugin works perfectly
> when run using firefox on my home system (i.e. where pyblosxom and the
> apache server are) but is failing when run using Firefox from a remote
> system, though it's still a Fedora 7 system. I.e. when I run my
> pyblosxom plugin using the browser at home I only see the first two of
> the lines shown above in the apache error_log, it's only when I run
> it from a remote firefox that the second two lines and the error
> traceback appear (and pyblosxom diaplays an error message rather
> than the expected page).
I wasn't comparing like with like, I'd forgotten to add the 'wiki' to
the URL when trying remotely, i.e. on the remote system I was
viewing:-
http://home.isbd.net/cgi-bin/pyblosxom.cgi/
and on my home system I had been viewing:-
http://home.isbd.net/cgi-bin/pyblosxom.cgi/wiki
and my plugin is specifically for use with Will's wiki plugin and was
getting a little confused when being used with the straight pyblosxom
blog URL. I'll need to add a few lines of code to sort that out.
Sorry for the noise folks! :-)
--
Chris Green
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/