Apache help wanted

Federico Voges fvoges
Mon May 17 11:39:37 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 31 Oct 2002 12:08:46 -0500, Tim Wunder wrote:

>On 10/31/2002 11:49 AM, someone most assuredly Federico Voges wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> On 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>
>
Another one, have you tried renaming/symlinking webcal.cgi to
index.cgi??

Not a solution, but hopefully a workaround.

Bye!
Federico Voges
Socio gerente

Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina

Te/Fax: 54-11-4833-5182
e-mail: fvoges at intrasoft.com.ar
Web: http://www.intrasoft.com.ar

PGP Public Key Fingerprint: A536 4595 EB6F D197  FBC1 5C3A 145C 2516

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its affiliated companies.

iQA/AwUBPcFnFBRcJRaVKt4XEQIcngCgmx4qFfBAUTGBD3G04MWynMvnKGoAmQGf
+/vZpM9XhezSCq+Zr9IQlkVa
=BT/v
-----END PGP SIGNATURE-----




More information about the Linux-users mailing list