Error 500 Internal Server Error on virtual host

Started by tpelek, January 07, 2019, 04:50:47 PM

Previous topic - Next topic

tpelek

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

GTMAN


tpelek

Quote from: GTMAN on January 07, 2019, 07:44:02 PM
What PHP handler are you using?

Sorry for my late reply, I guess is CGI , I didn't do any change , just fresh install


studio4host

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.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

tpelek

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.

tpelek

Quote from: studio4host on January 11, 2019, 12:44:57 PM
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

studio4host

you would need to check error_log it's probably suPHP security restriction which would then require custom conf.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

tpelek

the error in error_log is "public_html/.htaccess: Options not allowed here"
the suphp_log haven't any error.

Thanks

studio4host

VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

yamano

#9
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

tpelek