www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seth Barber <se...@cyberis.net>
Subject general/3165: DirectoryIndex, SetHandler and AddHandler don't work in <Directory> tags
Date Thu, 08 Oct 1998 18:57:58 GMT

>Number:         3165
>Category:       general
>Synopsis:       DirectoryIndex, SetHandler and AddHandler don't work in <Directory>
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Oct  8 13:10:00 PDT 1998
>Originator:     sethb@cyberis.net
>Release:        1.3.0
Linux bk 2.1.108 #2 SMP Thu Jul 2 13:12:08 PDT 1998 i586 unknown

Compiled with gcc version
We have a directory comprised mainly of cgi scripts that create dynamic web pages.  In Apache
v1.2.6 we set the SetHandler cgi-script .cgi in the <Directory> tag as well as set DirectoryIndex
index.cgi and have no problems running that.  However in Apache v.1.3.0 those commands did
not work on a <Directory> level (I even tried AddHandler) but they did work on a global

What we got instead was the server generated direcory index instead of index.cgi and when
we clicked on the index.cgi we got the file itself rather than the resulting output if it
had been executed.
Unfortunatly both our servers are production servers and I've had to "fix" the problem by
issuing the commands on a global level instead.

[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[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