Link to home
Start Free TrialLog in
Avatar of maxman100
maxman100

asked on

symlink in htaccess go error 500

Hi
 I have centos 6.3 server with "Virtulmin" ext for domain management for each domain I build i must remove the symlink from the htaccess otherwise i get error 500 any suggestion
thanks
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maxman100
maxman100

ASKER

Thank you for your respond
 I drive the  Virtualmin other than "HOME" default home directory "in my case /var/www/html"
how can map it please concern that I"m newbie in Linux

thanks again
Apache Documentation is here (middle column - read all)
https://httpd.apache.org/docs/2.4/

You need to add alias in httpd.conf where you attempt to stick symlink.
Avatar of Daniel McAllister
You can allow sym-links in apache on a directory-by-directory basis, or you may be blocking them on a system-wide basis.

The most common time this shows up is when people upgrade older Apache systems to newer ones (usually in a jump from, say RHEL 5 to RHEL 6)... as the default behavior has changed.

I hope this helps point you in the right direction for complete assistance.

Happy Holidays!

Dan
IT4SOHO
PHP will not work with symlinked directory... And it is a security hole,a nd kills chroot if you wish one etc.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
https:#a38720337 (virtualmin uses PHP)
https:#a38735185 (very detailed explanation for normal systems