Skip to main content.
home | support | download

Back to List Archive

RE: swish.cgi, access denied

From: Michael Porcaro <music(at)not-real.recordhall.com>
Date: Thu Nov 03 2005 - 23:15:44 GMT
Ok I changed the files to match what you said.  I restarted apache.
Still nothing.  Do I have to restart my whole server or just apache?

-----Original Message-----
From: swish-e@sunsite3.berkeley.edu
[mailto:swish-e@sunsite3.berkeley.edu] On Behalf Of David Hane
Sent: Thursday, November 03, 2005 5:40 PM
To: Multiple recipients of list
Subject: [SWISH-E] RE: swish.cgi, access denied

Michael,

They are referring to your apache httpd.conf file. you need to allow
symlinks in your cgi-bin. An exemple from a standard apache install
would read like this:

<Directory "/usr/local/apache/cgi-bin">
       Options +ExecCGI FollowSymLinks
       CGICommandArgs Off
       Order allow,deny
       Allow from all
</Directory>


The "FollowSymLinks" is probably your problem, you need it. You'll have
to restart your web server after you make the necessary edits.

On Thu, 2005-11-03 at 14:15 -0800, Michael Porcaro wrote:
> What file do I need to edit?  Can you tell me the name and location of
> the file I need to edit, and what exactly to edit?  I still have no
idea
> how to allow apache to see the cgi file through http.
> 
> Thanks and I'm sorry to be a pain.  I read the instructions many times
> and I couldn't find a solution to my problem.
> 
> -----Original Message-----
> From: swish-e@sunsite3.berkeley.edu
> [mailto:swish-e@sunsite3.berkeley.edu] On Behalf Of Michael Peters
> Sent: Thursday, November 03, 2005 4:30 PM
> To: Multiple recipients of list
> Subject: [SWISH-E] RE: swish.cgi, access denied
> 
> 
> 
> Michael Porcaro wrote:
> > Hi,
> > 
> > Thank you for replying.  I am not sure what you mean by this
statement
> > or how to do it:
> > 
> > " the FollowSymLinks directive needs to be on the ScriptAlias
> directory,
> > not the swish.cgi file."
> > 
> > First of all, are we concentrating on the .htaccess file?  Or are
you
> > referring to something else?  
> > 
> > What exactly do I need to put in the .htaccess file in order to get
> > swish.cgi to work?
> 
> Different options may or may not be available depending on what the
> server sets for the AllowOverride directive.
> 
Received on Thu Nov 3 15:15:51 2005