Date: Mon, 29 Jul 2002 09:42:57 -0400 (EDT) From: up@3.am To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Subject: Re: suEXEC on FreeBSD Message-ID: <Pine.BSF.4.10.10207290938300.72117-100000@richard2.pil.net> In-Reply-To: <10F29E27A956D511B0940050DA8D86A985C46D@mailserver.dagupan.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?Pine.BSF.4.10.10207290938300.72117-100000>
