Date: Tue, 30 Jul 2002 08:53:24 +0800 From: francisv@dagupan.com To: up@3.am Cc: freebsd-isp@FreeBSD.ORG Subject: RE: suEXEC on FreeBSD Message-ID: <10F29E27A956D511B0940050DA8D86A985C475@mailserver.dagupan.com>
next in thread | raw e-mail | index | archive | help
Hi, I just tried this but it still doesn't work :( /var/log/httpd-suexec.log: [2002-07-30 09:18:58]: error: command not in docroot \ (/usr/local/vhosts/domain.org/cgi-bin/admin.cgi) -----Original Message----- From: up@3.am [mailto:up@3.am] Sent: Monday, July 29, 2002 9:43 PM To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Subject: Re: suEXEC on FreeBSD Try something like this: <Directory "/usr/local/vhosts/*/cgi-bin/"> AllowOverride all Options Indexes MultiViews ExecCGI IncludesNOEXEC Order allow,deny Allow from all </Directory> On Mon, 29 Jul 2002 francisv@dagupan.com wrote: > I want to use suEXEC on our shared hosting space but I'm having problems > with the existing structure. suEXEC wouldn't run CGIs if they're not > directly under the DocumentRoot but we have: > > Domain.name > | > +-- README > +-- htdocs > +-- cgi-bin > +-- logs > > All .{s}html, .php, and all other files are in put in htdocs/ and all .cgi, > .pl files must reside under cgi-bin/. Here's our Apache configuration: > > <VirtualHost X.X.X.X:80> > User username > Group clients > ServerAdmin webmaster@domain.org > DocumentRoot /usr/local/vhosts/domain.org/htdocs > ScriptAlias /cgi-bin/ "/usr/local/vhosts/domain.org/cgi-bin/" > ServerName www.domain.org > ErrorLog /usr/local/vhosts/domain.org/logs/error_log > CustomLog /usr/local/vhosts/domain.org/logs/access_log combined > <Directory /usr/local/vhosts/domain.org/htdocs> > Options Indexes > AllowOverride None > </Directory> > <Directory /usr/local/vhosts/domain.org/logs> > Options Indexes > AllowOverride Limit AuthConfig > </Directory> > </VirtualHost> > > --- > francis a. vidal [bitstop network services] | http://www.bitstop.ph > streaming media + web hosting | http://www.keystone.ph > v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10F29E27A956D511B0940050DA8D86A985C475>