Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: user cgi-bin configuration
- To: tlug@example.com
- Subject: Re: user cgi-bin configuration
- From: Jake Morrison <jacob.morrison@example.com>
- Date: Thu, 07 Sep 2000 13:48:23 +0800
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- Organization: Syntegra
- References: <20000907050012.40C9A4040@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <ATxja.A.SrE.J1yt5@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: jacob.morrison@example.com
Uli, This is generally considered dangerous to do, as the CGI programs run under the apache user account. It is also easy for a user to accidentally compromise system security with their CGI program. Or it may be possible to affect other users CGIs or associated files. You might want to have a look at Apache's suEXEC support, which can run the CGI under the account of the user who owns it. http://www.apache.org/docs/suexec.html Regards, Jake ulrike@example.com wrote: > > I am running debian if this is of any relevance and tried to install cgi-bin > directories for users, but am not quite sure whether I understood the Apache FAQ > correctly, it says: > > 2.Place the cgi-bin directory underneath the public_html directory: > > <Directory /home/*/public_html/cgi-bin> > Options ExecCGI > SetHandler cgi-script > </Directory> > > So I put this text at the very bottom of access.conf. But when I tried to access > the script I got: "You don't have permission to access /~uli/cgi-bin/wwwkan.pl > on this server." > > The error.log says: > [Thu Sep 7 13:35:53 2000] [error] [client 127.0.0.1] Options ExecCGI is off in > this directory: /home/uli/public_html/cgi-bin/wwwkan.pl > > I did restart the server, I have to admit by rebooting, since > "kill -TERM `cat /usr/local/apache/logs/httpd.pid`" does not work, I cannot > locate httpd.pid. > > So what do I have to think about "Options ExecCGI is off", and how do I restart > apache properly (this is this neccessary/the correct way to get it to know that > I changed the *.conf files, isn't it?) > > Uli > > ----------------------------------------------------------------------- > Next Nomikai Meeting: October 20 (Fri) 19:00 Place: Tengu TokyoEkiMae > Next Technical Meeting: November 11 (Sat) 13:30 Place: LinuxProbe Hall > ----------------------------------------------------------------------- > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- References:
- user cgi-bin configuration
- From: ulrike@example.com
Home | Main Index | Thread Index
- Prev by Date: Re: HUP Signal: restart now -> syntax?
- Next by Date: Re: PCMCIA Card Not Working in OpenLinux 2.3
- Prev by thread: user cgi-bin configuration
- Next by thread: Re: user cgi-bin configuration
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links