Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Steve Freitas wrote:
> I'm developing two pages, one called "faq.py" and the other called
> "getlists.py". Depending on how I access them, their
> availability changes:
> (apologies to those not using monospace fonts)
> via mod_webkit:
> http://blah.com/WKMod/devel/faq.py -- WORKS
> http://blah.com/WKMod/devel/faq -- WORKS
> http://blah.com/WKMod/devel/getlists.py?x=1 -- WORKS
> http://blah.com/WKMod/devel/getlists?x=1 -- WORKS
> Via OneShot.cgi:
> http://blah.com/OneShot.cgi/devel/faq.py -- WORKS
> http://blah.com/OneShot.cgi/devel/faq -- WORKS
> http://blah.com/OneShot.cgi/devel/getlists.py?x=1 -- WORKS
> http://blah.com/OneShot.cgi/devel/getlists?x=1 -- NO WORKIE (404)!
> Permissions are identical on these two files. Any ideas?
I have no idea. It seems like OneShot isn't working for you when the URL:
1) Has a query string
2) Leaves off the ".py"
but that case works fine for me.
Maybe whatever is running your server is deciding what handler to send the
files to by extension? I realize that one of the working cases hasn't got an
extension, either, but maybe it's being complicated by the querystring?
| > Via OneShot.cgi:
| > http://blah.com/OneShot.cgi/devel/faq.py -- WORKS
| > http://blah.com/OneShot.cgi/devel/faq -- WORKS
| > http://blah.com/OneShot.cgi/devel/getlists.py?x=1 -- WORKS
| > http://blah.com/OneShot.cgi/devel/getlists?x=1 -- NO WORKIE (404)!