Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 00:44:31 -0800
From:      "Jonas Fornander" <jonas@netwood.net>
To:        "'David A. Hauan'" <dah@hauan.org>
Cc:        <questions@FreeBSD.ORG>
Subject:   RE: Still need help with configuring cgi-bin
Message-ID:  <039a01c1c5b4$4ccf1730$0800a8c0@master>
In-Reply-To: <3C868E12.8EC25BD6@hauan.org>

next in thread | previous in thread | raw e-mail | index | archive | help
OK, it works if I add ExecCGI to <Directory /> section, but isn't that a
security issue? Now they can run scripts in any directory not just the
cgi-bin.

Jonas Fornander - System Administrator
Netwood Communications, LLC - www.netwood.net
Find out why we're better - 310-442-1530 

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG 
> [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of 
> David A. Hauan
> Sent: Wednesday, March 06, 2002 1:46 PM
> To: Jonas Fornander
> Cc: questions@FreeBSD.ORG
> Subject: Re: Still need help with configuring cgi-bin
> 
> 
> Jonas Fornander wrote:
> > 
> > I still can't get the scripting to work in users directory. I have 
> > tried every combination but to no avail. I am restarting 
> apache after 
> > any change to httpd.conf and I don't have a cached page in the 
> > browser.
> > 
> > In the hope that someone from the group - with more experience and 
> > knowledge than myself - would be kind enough to assist 
> further, I have 
> > pasted my httpd.conf configuration below my sig. To keep 
> the file size 
> > down, I have removed all comments except if a command was commented 
> > out in the original install configuration.
> > 
> > I'm trying to get scripting to run in 
> > /usr/home/user3/public_html/cgi-bin but for my life I don't 
> understand 
> > why it doesn't run. I get a permission error in the 
> browsers and the 
> > access log says that Option ExecCGI is off.
> > 
> > Script runs fine in the ScriptAlias directory.
> > 
> > TIA for any assistance.
> >
> you've answered your own question
> 
> > <Directory />
> >     Options FollowSymLinks
> >     AllowOverride None
> > </Directory>
> 
> you gotta have 
> Options ExecCGI 
> in all your your stuff!
> 
> dave
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?039a01c1c5b4$4ccf1730$0800a8c0>