RE: Exec CGI
On Mon, 6 Nov 2000, Jason Holland wrote:
> Do you have this in your httpd.conf
>
> AddHandler cgi-script .cgi
>
> ?? You need this to map the cgi-script handler to all .cgi scripts. And
> you probably can take that extra Options line out, you don't need to tell
> apache Options ExecCGI twice. Also, your directory definition probably
> should look like this
>
> <Directory "/home/*/public_html">
>
> So you grab everyone's home directory. Hope this helps.
Alternatively, you can force your users to have a cgi-bin directory for
their scripts, and use the ScriptAlias command. This is nice if you
only want to allow _some_ CGIs for _some_ users.
Damian
> > Hi,
> >
> > I am wondering how to execute .cgi out of the users public_html
> > directory. I thought I had it right by adding the line to
> > access.conf file?
> >
> > <Directory "/home/username/public_html/">
> > AllowOverride all
> > Options ExecCGI
> > Options Indexes FollowSymLinks ExecCGI
> > Order allow,deny
> > Allow from all
> > </Directory>
> >
> > I do have .cgi extentions working fine out of the main www
> > directory. If I
> > view the error.log I see a line that says that Option Exec is off??
> >
> > Thanks
> >
> > Eileen Orbell
> > Software & Internet Applications
> > Capitol College
> > mailto:eileen@orbell.com
> > mailto:eileen@orbell.net
> > Don't Fear the Penguin.
> >
> >
> >
> >
> > --
> > Unsubscribe? mail -s unsubscribe
> > debian-user-request@lists.debian.org < /dev/null
> >
> >
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
Damian Menscher
--
--==## Grad. student & Sys. Admin. @ U. Illinois at Urbana-Champaign ##==--
--==## <menscher@uiuc.edu> www.uiuc.edu/~menscher/ Ofc:(217)333-0038 ##==--
--==## Physics Dept, 1110 W Green, Urbana IL 61801 Fax:(217)333-9819 ##==--
Reply to: