help 403 error

Discussion in 'Installation/Configuration' started by tg95, Aug 11, 2016.

  1. tg95

    tg95 New Member

    helllo, i install isp on my machine for connect whit roundcube email, and i install all and, put on ssl, no, and change port to 2588, i try to connect on 0.0.0.0:2588 and say 403 forbidden, my website all work but this no, i dont know how i need to do for work, same on can help me? thanks for help and sorry for my bad english.
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    You are trying to use port 2588 for the ispconfig control panel, not for roundcube, correct? Did you follow a Perfect Server guide to install ispconfig? You might try re-running the ispconfig update.php script and let it reconfigure things (choose port 2588 when asked what port ispconfig should run on).
     
  3. tg95

    tg95 New Member

    yes, ispconfig, yes, i do update and say:

    Updating Crontab
    Restarting services ...
    [Thu Aug 11 20:56:08 2016] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Thu Aug 11 20:56:09 2016] [warn] NameVirtualHost *:443 has no VirtualHosts
    Restarting web server: apache2 ... waiting .
    Update finished.
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    The question during installation is whether to generate a self-signed ssl certificate or not, it is not asking if you want to use SSL or not. As far as I know, the ispconfig vhost config always uses SSL, so you would need to install a certificate manually if you answered no there.

    But it looks like apache didn't complain about missing certificate files, either. What is the output of 'apachectl -S' ?
     
  5. tg95

    tg95 New Member

    hi thanks for help, i install normaly and on visit https:// myserverip.com:8080 say 403 error, and no send any error on apache2...
     
  6. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I suspect you have an incomplete install, you might pull up the Perfect Server guide for your OS and go back over it, making sure everything is installed.
    Check the server error.log file (eg. /var/log/apache2/error.log on debian).
     
  7. tg95

    tg95 New Member

    hi, on try use link say this: http://prntscr.com/c6pb51
    and apache2 logs :

    [Wed Aug 17 05:20:21 2016] [notice] caught SIGTERM, shutting down
    [Wed Aug 17 05:20:22 2016] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Aug 17 05:20:22 2016] [warn] RSA server certificate CommonName (CN) `KTS' does NOT match server name!?
    [Wed Aug 17 05:20:22 2016] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Aug 17 05:20:22 2016] [warn] RSA server certificate CommonName (CN) `KTS' does NOT match server name!?
    [Wed Aug 17 05:20:22 2016] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u4 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
    [Wed Aug 17 05:20:37 2016] [error] [client myip] client denied by server configuration: /var/www/
    [Wed Aug 17 05:20:37 2016] [error] [client myip] client denied by server configuration: /var/www/favicon.ico
     
    Last edited: Aug 20, 2016
  8. tg95

    tg95 New Member

    bump
     
  9. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Did you follow a Perfect Server guide to install ispconfig? What is the output of 'apachectl -S' ? you might pull up the Perfect Server guide for your OS and go back over it, making sure everything is installed.
     
  10. tg95

    tg95 New Member

    ok on install say this:


    Syntax error on line 56 of /etc/apache2/sites-enabled/000-ispconfig.vhost:
    Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
    Action 'configtest' failed.
    The Apache error log may have more information.
    failed!
    Installation completed.


    and apache log error:

    [Wed Aug 24 09:11:31 2016] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
    [Wed Aug 24 09:12:00 2016] [notice] caught SIGTERM, shutting down
    [Wed Aug 24 09:12:07 2016] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
    [Wed Aug 24 09:12:15 2016] [notice] caught SIGTERM, shutting down
    [Wed Aug 24 09:12:16 2016] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u4 configured -- resuming normal operations
    [Wed Aug 24 09:12:53 2016] [notice] caught SIGTERM, shutting down
    [Wed Aug 24 09:12:54 2016] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u4 configured -- resuming normal operations
     
  11. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

Share This Page