INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

HANDLE


PASSWORD
Remember Me
Forgot Password?

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!

E-mail*
Handle

Password
Verify P'word
*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
Partner Button
(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.

Start A New Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Promoting, selling, recruiting and student posting
are not allowed in the forums.
Posting Policies

LINK TO THIS FORUM!
(Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum)
TITLE: Apache Group: Apache Forum at Tek-Tips
URL: http://www.tek-tips.com/threadminder.cfm?pid=65
DESCRIPTION: Apache Group: Apache technical support forum and mutual help system for computer professionals. Selling and recruiting forbidden.

 
Close Box

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:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close