Click to See Complete Forum and Search --> : How to link http://x/name1 to any folder /name2?


ivanpisa
04-10-2001, 03:11 PM
I tried to use alias to link (I don't want to use symbolic link, I want to do it inside apache): http://xxx.xxx.xxx.xxx/name1
to
/name2
but It's not working. I discommented the line AddModule mod_alias.c (only this module) and still not working.
Please, can someone give a hint??
Thanks in advance
Ivan Pisa

freebsd
04-11-2001, 01:00 AM
What is not working? Any error?
Say /name2 is a system path, you also need a <Directory> block since /name2 is not a relative system path under your docroot.

<Directory "/name2">
AllowOverride All
Options All
Order allow,deny
Allow from all
</Directory>

Alias /name1/ "/name2/"