Does "Alias /foo/bar/" work?

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

 



Hi.

Using Apache 2.0 on Linux (with 'mod_alias' loaded), I want to set an alias:
/foo1/foo2/ --> /usr/www/example/foo2/

This is part of my 'httpd.conf':
-----------
<VirtualHost example.com>
DocumentRoot /usr/www/example/web
ServerName example.com

Alias /foo1/foo2/  /usr/www/example/foo2/
<Directory "/usr/www/example/foo2/">
Options Indexes FollowSymLinks
Order Allow,Deny
Allow from all
AllowOverride all
DirectoryIndex index.php
</Directory>
</VirtualHost>
----------------

But if I access:
http://example.com/foo1/foo2/
I get a 404 error.

Any suggestion? Thank you very much.

---------------------------------------------------------------------
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