Control Web Panel
WebPanel => Apache => Topic started by: tpelek on January 07, 2019, 04:50:47 PM
-
in fresh install of Centos 7 I create a account with name tpelek.
when I visit vhost http://IP/~tpelek/ i receive error 500 Internal Server Error
in error log write : home/tpelek/public_html/.htaccess: Options not allowed here
if I visit the main http://IP/ works ok.
in both directories I have the default joomla .htaccess but the problem only in vhost.
If I comment out from .htaccess Options +FollowSymlinks and Options -Indexes I don't receive any error.
I try to fix account permissions and usr / local / apache / conf.d / vhosts / tpelek.com.conf have the option
<Directory "/home/tpelek/public_html">
AllowOverride All
</Directory>
in server I build before 2-3 months with centos 7 this not happen.
Thanks in advanced
Thodoris
-
What PHP handler are you using?
-
What PHP handler are you using?
Sorry for my late reply, I guess is CGI , I didn't do any change , just fresh install
-
you should check what you have in htaccess file or you can try to forward subdomain/domain to that location and test like that or with modifications of the hosts file.
-
htaccess is the standard file from joomla
If I delete from htaccess these two "options +FollowSymlinks and Options -Indexes" I don't receive error
This happen only on vhost.
I try to FW a domain as you suggest but I don't think this will works.
-
you should check what you have in htaccess file or you can try to forward subdomain/domain to that location and test like that or with modifications of the hosts file.
you are right, I point the domain and works with out error.
there is any way to access from IP/~account or hostname/~account name ?
Thanks
-
you would need to check error_log it's probably suPHP security restriction which would then require custom conf.
-
the error in error_log is "public_html/.htaccess: Options not allowed here"
the suphp_log haven't any error.
Thanks
-
then remove options from htaccess
-
Same problem here.
Tried every single "solution" in this forum..
Unsuccessfull :/
*no log errors..
I can give teamviewer access if anybody offers to help me.
Regards
-
if you find a solution please share it
thanks