-----Original Message-----
From: Marin Angulo, Osvaldo [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 28. März 2006 06:36
To: Boyle Owen
Subject: RE: [EMAIL PROTECTED] Help needed

Hi Owen,

I verified your suggestions but I don't know what I'm doing wrong; my DocRoot 
is /usr/local/apache/htdocs and into htdocs I have a symbolic link to cgi-bin 
as cgi-bin -> ../cgi-bin, and all the .cgi files (other symbolic links into 
cgi-bin) that I have are working fine; the only problem is when I try to browse 
a directory in /cgi-bin or any other place.

I was wondering if you can take a look into my httpd.conf file and know what is 
happening: Please...

Thanks a lot,

Osvaldo



-----Original Message-----
From: Boyle Owen [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 27, 2006 12:30 AM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Help needed

> -----Original Message-----
> From: Marin Angulo, Osvaldo [mailto:[EMAIL PROTECTED] 
> Sent: Freitag, 24. März 2006 18:30
> To: users@httpd.apache.org
> Cc: Marin Angulo, Osvaldo
> Subject: [EMAIL PROTECTED] 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 
http://httpd.apache.org/docs/2.2/mod/core.html#options. 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.

Rgds,
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to