On 10/31/2002 11:49 AM, someone most assuredly Federico Voges wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1On Thu, 31 Oct 2002 11:37:02 -0500, Tim Wunder wrote:Hi, In migrating from Apache 1 that was included with Caldera eW3.x to Apache 2 provided by Red Hat 8 (version 2.0.40), I've gotten pretty much everything to work OK. Except for the following: - I can't seem to get Apache to to load one of the files listed by the DirectoryIndex line for a directory other than the directory root (and users' public_html directories). I'm apparently missing something obvious, but it's eluding me... For example, I've got a web-based calendar on my webserver (Webcal), and have an aliased directory /calendar that calls up the /cgi-bin/webcal directory and I have the following entries in my httpd.conf file: DirectoryIndex index.html webcal.cgi index.html.var index.cgi main.htm But when I try to access <URL>/calendar, I get an access denied error. If I add webcal.cgi at the end, it loads. Permissions on the calendar directory are 755 I've asked on IRC (#apache) and the guy/gal there couldn't figer out why it wouldn't work. Anybody wanna make a suggestion? I'm stumped :-( httpd.conf file available upon request...Are you sure that you're modifying the correct DirectoryIndex?? Check all the <Directory*> sections and look for possible overrides.
Yes. I had originally listed the DirectoryIndex without reference to a particular <Directory *>, but subsequently added "DirectoryIndex webcal.cgi" inside the <Directory "/home/httpd//cgi-bin/webcal">...<Directory> section. Still no go.
Remember that options apply for the specified directory and all below, and maybe your cgi-bin somewhere else and not included in your modified config.
cgi-bin works. When I specify the webcal.cgi file with the URL, the calendar works as expected.
Besides that, are you sure that DirectoryIndex applies to cgi directories??This I'm not sure about. I *am* sure that the settings for DirectoryIndex and the cgi-bin directories are what was working with Apache 1.3x and won't work with Apache 2.0.x.
<snip>
Thanks, Tim
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
