![]() |
|
#1
|
|||
|
|||
AliasRunning httpd version 2.2.3.
I am trying out mod_perl, it is working fine in loading mod_perl-startup.pl apparently. I am trying to allow access to perl-lib directory, but get Error 404 with 'http://localhost/perl DocumentRoot is /srv/www/htdocs/ I thought the scriptAlias would map /perl/ to /srv/www/perl-lib Conf entries: httpd.conf <Directory /> Options None AllowOverride None Order deny.allow Deny from all </Directory> /etc/apache2/conf.d/mod_perl.conf <Directory "/srv/www/perl-lib"> AllowOverride None Options None Order allow,deny Allow from all </Directory> <IfModule mod_perl.c> PerlRequire "/etc/apache2/mod_perl-startup.pl" #ScriptAlias /perl/ "/srv/www/cgi-bin/" ScriptAlias /perl/ "/srv/www/perl-lib/" <Location /perl/> # mod_perl mode SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI </Location> ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/" <Location /cgi-perl> # perl cgi mode SetHandler perl-script PerlResponseHandler ModPerl: PerlOptions +ParseHeaders Options +ExecCGI </Location> # The /cgi-bin/ ScriptAlias is already set up in httpd.conf </IfModule> Simon |
Recent GIDBlog
Welcome to Baghdad by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hard drive/CPU Diagnoses Issues | binarybug | Computer Hardware Forum | 1 | 22-Jan-2007 19:23 |
| BDE Alias for ACCESS 2003 User/pwd ?? | shakoush2001 | C++ Forum | 0 | 19-Mar-2006 10:47 |
| Alias to a Map Network Drive | mop16945 | Apache Web Server Forum | 1 | 10-Mar-2006 19:37 |
| Can't view pages from another machine on the Intranet | aevans | Apache Web Server Forum | 9 | 14-May-2004 02:26 |
| Apache 1.3.28 >XP > Complete Beginner setting alias? | thinnk | Apache Web Server Forum | 2 | 26-Mar-2004 00:42 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The