httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon" <l...@thecus.com>
Subject [users@httpd] Can't use Script & Action in Directory or Location???
Date Fri, 21 Jan 2005 02:43:01 GMT
in httpd.conf.....

ScriptAlias /test/ "/usr/local/apache/test/"

<LocationMatch "/(Authorization)/">
    Script GET /test/test.php
</LocationMatch>


in test.php.....

exec('ls > ./test.txt');
echo 'test';

in abc.php.....

echo 'abc';


use Browser to  "http://192.168.0.12/Authorization/abc.php"

the result is "abc"

I try use :
Allow from all
Deny from all
Options All
AllowOverride All
Script POST
Script PUT

Still run abc.php , test.php is no execute

if use .htaccess , it is run very good(only Action)..........

Why ????I want to use Location & Script ?? Somebody Help Me
Mime
View raw message