| Jim Hayter 2007-10-15, 1:28 pm |
| Andrew wrote:
> I am trying to link to another directory but cannot get this to work. I
> cannot seem to find proper instructions as to how to do this.
>
> /usr/local/apache/share/original - this is the target folder.
> xxx.com/test - is the url i want to type into my browser.
>
> can anyone advise what i am doing wrong
>
> <VirtualHost *>
> DocumentRoot /usr/local/apache/share/new
> ServerName xxx.com
> <Directory />
> Options FollowSymLinks
> ln -s /usr/local/apache/share/original ./test
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^
This is NOT an apache directive. It is an OS command line. You do this
once to create the symlink.
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
>
|