Apache Server configuration support - Re: Sym Links

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > October 2007 > Re: Sym Links





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Sym Links
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>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com