httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Help needed
Date Mon, 27 Mar 2006 07:29:48 GMT
> -----Original Message-----
> From: Marin Angulo, Osvaldo [] 
> Sent: Freitag, 24. März 2006 18:30
> To:
> Cc: Marin Angulo, Osvaldo
> Subject: [users@httpd] Help needed
> Hi there, 
> I was wondering if somebody in this list can help me on 
> figuring out what is happening with my configuration since 
> I'm able to link to a .cgi file from my main page, but, if I 
> try to browse a directory I can't. 

Do you mean simply that you can't browse a normal filelist of plain files (ie, NOT cgi programs)?
If so, look at You need,

	Options Indexes

at least..

> I opened permissions, I checked all the FAQs, but I didn't 
> find anything that clear me what is happening. 
> This is the error reported out in the error_log: attempt to 
> invoke directory as script: /usr/local/apache/cgi-bin and 
> from the web page, when clicking in the link am getting this one: 
> Forbidden 
> You don't have permission to access ... 

I suspect you're trying to browse a CGI directory by using its ScriptAlias.. Eg:

DocumentRoot /usr/local/apache/html
ScriptAlias /cgi-bin /usr/local/apache/html/subdir/cgi-bin 

Then if you try to browse http://server/cgi-bin, that won't work.. You need to give the filesystem
path relative to the docroot, ie, http://server/subdir/cgi-bin [NB: I moved your CGI-bin to
make it clearer - you can't browse it where you have it because it's not under the docroot]

BTW, even when you browse it, you can't execute the programs by clickking on them - that will
only list them.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> I really appreciate any help since I am not a specialist on 
> this matter. 
> Osvaldo 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen-
bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature.
It is not related to the exchange or business activities of the SWX Group. Le présent e-mail
est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message