[cgiwrap-users] Re: cgiwrap suggestion/tip
Brought to you by:
nneul
From: Jeff B. <soi...@sg...> - 2002-06-18 03:01:44
|
Didn't work for me. I use (I know it's not that elegant, if you see how I can improve my rewrite rule I'm open to it): RewriteEngine On RewriteRule ^/cgi-bin/(.*) /cgi-sys/cgiwrap/USERNAME/$1 [PT] and that works for me but: ScriptAliasMatch ^/cgi-bin/(.*)$ /cgi-sys/cgiwrap/USERNAME/$1 neither ScriptAliasMatch ^/cgi-bin/(.*)$ /usr/local/apache/cgi-sys/cgiwrap/USERNAME/$1 neither ScriptAliasMatch ^/cgi-bin/(.*) /cgi-sys/cgiwrap/USERNAME/$1 neither ScriptAliasMatch ^/cgi-bin/(.*) usr/local/apache/cgi-sys/cgiwrap/USERNAME/$1 didn't work. Jeff ----- Original Message ----- From: <jo...@ze...> To: <nn...@um...> Cc: <jw...@de...> Sent: Monday, June 17, 2002 2:57 PM Subject: cgiwrap suggestion/tip > Hi, > > While looking over the Apache docs figuring out mod_rewrite, I stumbled > across a directive that I hadn't noticed before: ScriptAliasMatch. > > http://httpd.apache.org/docs/mod/mod_alias.html#scriptaliasmatch > > It turns out that this command can be used to hide cgiwrap from end users, > just like the more complicated rewrite rules method... > > ScriptAliasMatch ^/cgi-bin/(.*)$ /usr/lib/cgi-bin/cgiwrap/userid/$1 > > -- > Jon Miles <jo...@ze...> > > |