Alias Configuration :: Help Needed Please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I wonder if someone might please help me with the follow problem??

I am trying to set up the follow two directory mappings ::

http://localhost/Directory1/
http://localhost/Directory2/

Within <IfModule alias_module> tags of the httpd.conf file I have placed the
following ::

Alias /Directory1 "H:\ApplicationFiles\Directory1\"
<Directory "H:\ApplicationFiles\Directory1">
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>

Alias /Directory1 "H:\ApplicationFiles\Directory2\"
<Directory "H:\ApplicationFiles\Directory2">
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>

However, when I enter http://localhost/Directory1/ into my browser I get a
404 error. Looking in the error log it states ::

[error] [client 127.0.0.1] File does not exist: F:/Program Files/Apache
Software Foundation/Apache2.2/htdocs/Directory1

It would appear that the Alias aren't working and that it is just using the
document root. Can anyone please tell me what I'm missing??

Thanks in advance
D@n



--
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.447 / Virus Database: 268.18.10/720 - Release Date: 12/03/2007 19:19


		
___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use" ? The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux