GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 01-Feb-2007, 14:50
simon1206 simon1206 is offline
New Member
 
Join Date: Feb 2007
Posts: 1
simon1206 is on a distinguished road

Alias


Running 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:erlRun
PerlOptions +ParseHeaders
Options +ExecCGI
</Location>

# The /cgi-bin/ ScriptAlias is already set up in httpd.conf

</IfModule>

Simon
 
 

Recent GIDBlogWelcome to Baghdad by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 23:38.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.