checked manually with file:///C:/Server/Apache2/cgi-bin/pics/PD4.jpg.IT works.
file: is not http:
If you're trying to debug a problem with http://localhost.... you don't reach for file:
not sure about this
Yeah, the file: bit gave it away, which is why you should take the time now to learn about the internet.
This is one way you might check
$ lwp-request -USEd http://127.0.0.1:5000/
GET http://127.0.0.1:5000/
User-Agent: lwp-request/6.00 libwww-perl/6.02
200 OK
Date: Thu, 05 May 2011 11:36:49 GMT
Date: Thu, 05 May 2011 11:36:49 GMT
Server: HTTP::Server::PSGI
Content-Length: 6064
Client-Date: Thu, 05 May 2011 11:36:49 GMT
Client-Peer: 127.0.0.1:5000
Client-Response-Num: 1
no error on the log.Its just that everything works except the image. unlikely
is there any work around if apache wont server images ? Either don't keep images in cgi-bin, or configure apache to serve images from cgi-bin (I'm assuming its possible). |