Apache SCRIPT_NAME problem after upgrade 1.3.14 - 1.3.22

Apache SCRIPT_NAME problem after upgrade 1.3.14 - 1.3.22

Post by ?ke Holmlun » Sun, 04 Nov 2001 00:41:29



Hi.

I have run into problems trying to upgrade Apache from 1.3.14 to 1.3.22
on a Sun Solaris 8 machine. 1.3.22 does not handle SCRIPT_NAME the same
way (bug?). This is my scenario:

A cgi-script called script.cgi (the same problem occurs for
php-scripts).

Accessing the script with http://server/script.cgi
  both gives SCRIPT_NAME=/script.cgi.

Accessing the script with http://server/script.cgi/foo/bar
  both gives SCRIPT_NAME=/script.cgi and PATH_INFO=/foo/bar.

Accessing the script with http://server/script
  1.3.14 gives SCRIPT_NAME=/script
  1.3.22 gives SCRIPT_NAME=/script.cgi (!)

Accessing the script with http://server/script/
  1.3.14 gives SCRIPT_NAME=/script and PATH_INFO=/
  1.3.22 gives SCRIPT_NAME=/script/script.cgi (!) and PATH_INFO=/

Accessing the script with http://server/script/foo/bar
  1.3.14 gives SCRIPT_NAME=/script and PATH_INFO=/foo/bar.
  1.3.22 gives SCRIPT_NAME=/script/foo/script.cgi (!!!),
PATH_INFO=/foo/bar.

What's going on here???

-----------------------------------------------------------------------------
?ke Holmlund                                    Tel:  +46 - 90 786 57 16
Ume? University                                 Fax:  +46 - 90 786 65 50
Dept of informatics                             Email:

SE-901 87 Ume?
Sweden

 
 
 

Apache SCRIPT_NAME problem after upgrade 1.3.14 - 1.3.22

Post by Joshua Sliv » Sun, 04 Nov 2001 00:56:19


[...]

Quote:> Accessing the script with http://server/script/foo/bar
>   1.3.14 gives SCRIPT_NAME=/script and PATH_INFO=/foo/bar.
>   1.3.22 gives SCRIPT_NAME=/script/foo/script.cgi (!!!),
> PATH_INFO=/foo/bar.
> What's going on here???

Looks broken.  It may be related to a recent change to MultiViews
to fix a small security problem.  I suggest you file a bug report.

--
Joshua Slive

http://slive.ca/

 
 
 

1. Problem upgrading to apache 1.3.22-1

I am currently running apache 1.3.14-3 on Red Hat 7.0. I perform regular
upgrades, but I'm having a problem with apache. I installed mm and expat
beforehand, as Red Hat suggests, but when I try to install the apache rpms
and mod_bandwidth, mod_put, & mod_throttle, I get these errors:

 # rpm -Fvh --test *
 error: failed dependencies:
        mod_bandwidth is needed by apache-1.3.22-1.7.1
        mod_put is needed by apache-1.3.22-1.7.1
        mod_throttle is needed by apache-1.3.22-1.7.1

Has anyone encountered or overcome this problem?

2. Mandrake 7.1 Text Install grub/lilo ?

3. Upgrading to Apache 1.3.22

4. One problem, two solutions (spaces in file names)

5. apache upgrade from 1.3.20 to 1.3.22

6. CDROMS Pine, KISS 9200

7. Apache 1.3.22 Virtual Server Problems

8. HELP! File system repair for corrupted superblock?

9. Problems starting Apache 1.3.22

10. apache 1.3.22 start problem (core dump)

11. apache 1.3.22 problems

12. Apache 1.3.22 start problem

13. problems enabling mod_auth_db in Apache 1.3.22