symlink in URL

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I'm developing a website (PHP/Apache), and I need to be able to use a
'symlink' inside a URL where the symlink is a folder not a file.

I have been able to use symlinks that point directly to a file.  Now I need
to be able to have the symlink point to a folder (which is a parent to other

I have used PHP code to generate a SYMLINK to a folder, and I have
successfully tested the symlink through PUTTY.  What I can't seem to do is
to utilise the symlink through my browser.

When I use the symlink in the url, my server returns error 500 (internal
server error).

Can this be done?
Is there a special way of setting up the url to make it work?
Do I need to setup something in my .htaccess?
Do I need to setup something in my httpd.conf or php.ini?


  I've never used newsgroups b4, so please pardon any mistakes I make.  I
welcome any feedback though so I don't make them again.

Re: symlink in URL

DJ wrote:
Quoted text here. Click to load it

In httpd.conf, add:

<Directory /path/to/webfolder>
   Options FollowSymLinks


Site Timeline