Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Sym Links

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Links like this ... - Hello together! Maybe it's easy to solve but I don't know how ;) I've some linke like this one: This link loads an including site and sets the variable ID to 12. But if I klick..

Following links - I installed Apache 2.0 under SuSE Linux 9.1. In my Apache root directory there are some soft links that point to different pages. But now, any attempt to view those pages is answered with the message ..

Hot links - Hello. I found a lot of hot-links in the form, for example: <img /> that points directly on the images on my site. Actually I deny this type of links by using Apache I would..

Where are the links? - If I am in the wrong group I Please direct me to the right group. I have an Apache Webserver running on my windows xp computer. I have my website hosted on this server. The URL is Can anyone see the links to all the other..

aliases and links - I'm new to apache. Just got mine running on my Win XP. I don't know how to do this: # symbolic links and aliases may be used to point to other This line is taken from the section of Can anyone give me
Next:  IIS 6.0 resx download problem.  
Author Message
Andrew

External


Since: Mar 30, 2005
Posts: 2



(Msg. 1) Posted: Mon Oct 15, 2007 11:58 am
Post subject: Sym Links
Archived from groups: alt>apache>configuration (more info?)

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
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

 >> Stay informed about: Sym Links 
Back to top
Login to vote
Jim Hayter

External


Since: Feb 07, 2005
Posts: 81



(Msg. 2) Posted: Mon Oct 15, 2007 11:58 am
Post subject: Re: Sym Links [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

 >> Stay informed about: Sym Links 
Back to top
Login to vote
HansH

External


Since: Dec 08, 2006
Posts: 114



(Msg. 3) Posted: Mon Oct 15, 2007 5:07 pm
Post subject: Re: Sym Links [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Jim Hayter" <see.reply.to RemoveThis @nowhere.invalid> schreef in bericht
news:13h70a5do2il6dd@news.supernews.com...
>> <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.
>
Or you may use an alias (on those OSses not supporting symlinks)
<alias /test /usr/local/apache/share/original>
http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias


HansH
 >> Stay informed about: Sym Links 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]