homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Search Engines / Search Engine Spider and User Agent Identification
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL

Search Engine Spider and User Agent Identification Forum

When do I need Options +FollowSymLinks?
in htaccess

 6:42 am on May 28, 2003 (gmt 0)

I use mod_rewrite in my htaccess file to send spambots to various other places.

I notice some in this forum put Options +FollowSymLinks in their htaccess file; why?

Mine works fine without it, what does it do? Thanks.



 7:22 am on May 28, 2003 (gmt 0)

It specifies whether or not apache should follow a simbolic link while looking for a file.
For example, if you have a file
which is a link to

Then apache will only retrieve the realfile.html if you have that option enabled.


 7:29 pm on May 28, 2003 (gmt 0)

I have not setup any symbolic links myself, does this mean I do not need the command in my htaccess? Thanks


 7:44 pm on May 28, 2003 (gmt 0)

A search at google for symbolic links returned some reading material.

This might best provide its use:
http ://www.ahinc.com/linux101/links.htm

BTW, I get along just fine without using it.


 6:25 am on May 29, 2003 (gmt 0)

In some (or all?) server configurations, mod_rewrite requires FollowSymLinks to be enabled, or it will crater with a 500-Server Error.

If your mod_rewrite code works without the Options +FollowSymLinks directive, that means that your server configuration file has enabled them already, and you won't need that directive in your .htaccess files.

I try to remember to include it in posts here anyway, just so someone asking mod_rewrite questions won't have a problem, and either give up, or have to post again.



 8:17 am on May 29, 2003 (gmt 0)

That clears it up! Thanks all.


 1:45 am on Jun 3, 2003 (gmt 0)


i wonder if this followsymlinks is OS dependant... *nix stuff has the ability of having a link whereas DOS and win based stuff looks at a (cross)link as being a bad thing...


 2:08 am on Jun 3, 2003 (gmt 0)

I believe you would call it a "Shortcut" in Windoze-based environment.

The requirement for enabling FollowSymLinks is not well-defined. The only way I learned about it was because I got a 500-Server Error the first time I ever enabled mod_rewrite, and the error log entry said something to the effect of, "You must enable SymLinks for this to work."

I include it in posts mostly so I don't forget to warn that it may be required...


Global Options:
 top home search open messages active posts  

Home / Forums Index / Search Engines / Search Engine Spider and User Agent Identification
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved