www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Walsh <je...@nitroweb.net>
Subject mod_negotiation/7193: MultiViews causes script dump?
Date Mon, 05 Feb 2001 14:34:18 GMT

>Number:         7193
>Category:       mod_negotiation
>Synopsis:       MultiViews causes script dump?
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Feb 05 06:40:01 PST 2001
>Originator:     jerry@nitroweb.net
>Release:        1.3.14
FreeBSD 4.2-STABLE FreeBSD 4.2-STABLE #0: Tue Jan 16 10:49:04 GMT 2001     
FreeBSD 3.5-STABLE FreeBSD 3.5-STABLE #0: Wed Jan 24 10:15:12 GMT 2001

I did not test this alot
but i managed to reproduce it on the above envoirnments

my cgi-bin's are all in:


For this directory if i use:

<Directory /www/CGI-BIN/>
Options MultiViews

Restart apache and then run a cgi script
lets say


The script runs - no problems
but if i do:


I get the source code of the cgi
(NOTE i am using search.apache.org as an EXAMPLE - it does NOT work here)

If i removed MultiViews from the options this fixes the problem.

I tried this with the CGI-BIN inside and outside the webroot - both displayed the cgi source
code when MultiViews was enabled.

Can you tell me what's going on here?
is this a known bug?

# mkdir -p /www/WWW/your-host.com

Put the following in your config file:
<Directory "/www/WWW/">
Options MultiViews

<VirtualHost Your-host.com>
 ScriptAlias /cgi-bin/ "/www/WWW/cgi-bin/"
 DocumentRoot /www/WWW/your-host.com/
 ServerName your-host.com

put a cgi script in the cgi-bin for your-host.com

check to see if it runs
if it does
then access the cgi script WITHOUT its extension.

Remove MultiViews from your options?
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message