Control Web Panel

WebPanel => Apache => Topic started by: pixelpadre on May 12, 2019, 12:59:54 AM

Title: .htaccess: Option FollowSymlinks not allowed here
Post by: pixelpadre on May 12, 2019, 12:59:54 AM
So, I did a new install and transferred everything over from my old CWP to my new CWP.  One site works fine on the old CWP but the new CWP I get this error.

.htaccess: Option FollowSymlinks not allowed here

I presume there is a difference in the apache configuration between the old and the new.

Any ideas.

Found it

http://wiki.centos-webpanel.com/options-followsymlinks-not-allowed
Title: Re: .htaccess: Option FollowSymlinks not allowed here
Post by: Igor S. on May 12, 2019, 04:23:10 AM
Yes, FollowSymLinks was disabled by default.
Title: Re: .htaccess: Option FollowSymlinks not allowed here
Post by: carlosES on July 17, 2019, 03:06:16 PM
Yes, FollowSymLinks was disabled by default.
And what is the right way to revert it to enable again? I can edit the vhost but on each update is overwrited...

Thank you!
Title: Re: .htaccess: Option FollowSymlinks not allowed here
Post by: skyref on July 17, 2019, 03:57:06 PM
I think, that default is enabled or at least you can add:
SymLinksIfOwnerMatch
when the owner is the same it will work.