You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Daniel Abad <da...@cidadei.com.br> on 2002/03/20 16:15:09 UTC

Mod_rewrite + VirtualScriptAlias

Hello list!


I´m using Mod_vhost_alias + Mod_rewrite... and trying to configure the
VirtualScriptAlias /cgi-bin/ to get inside the SubDomains/cgi-bin directory;
Take a look:


For example, my domain: http://test.mydomain.com.br

 For:
    VirtualScriptAlias  /opt/vhosts/t/e/test/cgi-bin 
 I´m using:
    VirtualScriptAlias  /opt/vhosts/%1.1/%1.2/%1/cgi-bin
	<Directory "/home/vhosts">
        Options FollowSymLinks ExecCGI
        AllowOverride None
	</Directory>


I can´t execute any file inside this directory... could someone explain to
me why this is happening? I really appreciate.


LOG_FILE: 
[Wed Mar 20 11:58:14 2002] [error] [client xxx.xxx.xxx.xxx] file permissions
deny server execution: /opt/vhosts/t/e/teste/cgi-bin/formmail.cgi

 

Tks

Dan