https redirects to apache test page

Discussion in 'Installation/Configuration' started by davblos, Nov 3, 2013.

  1. davblos

    davblos New Member

    Hi,

    I am having trouble setting up SSL on a website.

    I have followed the SSL setup instructions, pretty straight forward, and verified that my certificate is working correctly using various cert checkers online.

    The problem is that when I try to access https://mydomain.com.au i get redirected to the apache test page. When I try to access any specific page ( https://mydomain.com.au/anypage ) I get a Forbidden error.

    My server has been setup using "The Perfect Server - CentOS 6.4 x86_64".

    The only log error I can find is in ssl_error_log:

    "client denied by server configuration: /var/www/mydomain.com.au/web"

    Any ideas?


    Thanks,

    Dave.
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    The "client denied by server configuration" error is most likely due to an misconfigured .htaccess or vhost/apache config.

    One possibility is, that one of the directories /var/www /var/www/mydomain.com.au has "deny from all" set.

    Try to check the vhost of your domain if there is a directive for access control like "Order deny,allow" etc.

    If your mentioned path /var/www/mydomain.com.au is NOT a symlink you might want to try adding something like this to your vhost file:

    <Directory /var/www/mydomain.com.au/web>
    Order deny,allow
    allow from all
    </Directory>

    Maybe this already solves the issue.
     

Share This Page