Mobile app version of vmapp.org
Login or Join
Cooney921

: What is SymLinksIfOwnerMatch? What is SymLinksIfOwnerMatch in .htaccess, in layman's terms? I have this option active. Do I need it? I have a plain HTML web site (though might go for Joomla one

@Cooney921

Posted in: #Apache #Htaccess #Redirects #Security #Server

What is SymLinksIfOwnerMatch in .htaccess, in layman's terms?
I have this option active. Do I need it? I have a plain HTML web site (though might go for Joomla one day).

Some sites specify that it replaces the FollowSymLinks that was disabled by some hosts such as BlueHost (yes, I am hosted there).

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cooney921

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

From the Apache docs


SymLinksIfOwnerMatch
The server will only follow symbolic links for which the target file or directory is owned by the same user id as the link.


So, enabling this option (as opposed to FollowSymLinks) prevents symbolic links being followed that might point to some critical parts of the system (where the owner of the link does not match the target file).


Do I need it? I have a plain HTML web site (though might go for Joomla one day).


If you have a plain HTML site and no fancy URLs then probably not.

However, it is required by mod_rewrite, which is required for URL rewriting. (And is required by Joomla if you enable "pretty" URLs - ie. URL rewriting.)


Some sites specify that it replaces the FollowSymLinks


SymLinksIfOwnerMatch is a more restriction option. The two are mutually exclusive.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme