INTELLIGENT WORK FORUMS FOR COMPUTER PROFESSIONALS
Come Join Us!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts
- Keyword Search
- Turn Off Ad Banners
- One-Click Access To Your
Favorite Forums
- Automated Signatures
On Your Posts
- Best Of All, It's Free!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Partner With Us!
"Best Of Breed" Forums Add Stickiness To Your Site

(Download This Button Today!)
Member Feedback
"...This site is truly a marvel. Without a doubt the most comprehensive, friendly and just plain useful resource of its kind..."
Geography
Where in the world do Tek-Tips members come from?
|
PATH_INFO not (always) working in CGIs
|
|
|
Makoto (Programmer) |
2 Jul 01 12:31 |
When I try to bring up http://[myhost]/cgi-bin/printenv/foo/bar/baz I get a 403 Forbidden error. The Apache error log shows
(21)Is a directory: access to /cgi-bin/printenv/foo/bar/baz failed
Basically, instead of invoking printenv with a PATH_INFO of /foo/bar/baz, Apache is trying to interpret the path as a directory and of course finds nothing there.
But if I bring up /cgi-bin/printenv, something "wakes up" and remembers that printenv is a CGI. After that, invoking it with a path works -- for a while. Then it forgets, and I have to repeat the "wake up" procedure.
Of course I'm not interested in printenv. The problem is that I have a bunch of CGIs which depend on getting PATH_INFO.
This is with Apache 1.3.20 on Mac OS X 10.0.4. |
|
|
Makoto (Programmer) |
6 Jul 01 12:50 |
I'd be grateful if other folks with Mac OS X would try this on their own machines to see if this is specific to my set-up or a more general problem. Thanks in advance. |
|
|
 |
|
Join Tek-Tips® Today!
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
Talk To Other Members
- Notification Of Responses To Questions
- Favorite Forums One Click Access
- Keyword Search Of All Posts, And More...
Register now while it's still free!
Already a member? Close this window and log in.
Join Us Close