[wplug] executing perl cgi scripts with apache2 on debian

John Harrold jmh17 at pitt.edu
Wed Jul 14 11:13:49 EDT 2004


Sometime in July Poyner, Brandon assaulted the keyboard and produced:

| I think you're using <Location> when you should be using <Directory>.
| That or change the <Location> to match the URL.
| 
| http://httpd.apache.org/docs-2.0/mod/core.html#location

Humm..

I moved everything to /var/www thinking that permissions in
/tmp might be mucking things up:

 <Directory /var/www/perltest>
   Options All
   AllowOverride All
   AddHandler cgi-script .pl
 </Directory>
 ScriptAliasMatch ^/perltest/ "/var/www/perltest/myfile.pl"
 ScriptAliasMatch ^/perltest "/var/www/perltest/myfile.pl"
I've tried both of the following:
   <Directory /var/www/perltest>
      ...
   </Directory>

   <Location /perltest>
      ...
   </Location>

separately. But it still doesn't work.

Any other thoughts?





-- 
---------------------------------------------------------- 
                            | /"\                         
 john harrold               | \ / ASCII ribbon campaign   
 jmh at member.fsf.org      |  X  against HTML mail       
 the most useful idiot      | / \                         
----------------------------------------------------------
 What difference does it make to the dead, the orphans, 
 and the homeless, whether the mad destruction is brought 
 under the name of totalitarianism or the holy name of 
 liberty and democracy?
 --Gandhi
----------------------------------------------------------
  gpg --keyserver keys.indymedia.org --recv-key F65A739E
----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20040714/8363e630/attachment-0001.bin


More information about the wplug mailing list