Error 403 on new web

Discussion in 'Installation/Configuration' started by rfnx, Jun 7, 2024.

  1. rfnx

    rfnx Member

    to me it shows active:

    upload_2024-6-7_9-24-4.png
     
  2. rfnx

    rfnx Member

    OK if you say so, I thought it would run ...
    upload_2024-6-7_9-27-24.png

    but anyway the site is aslo showing 403 in Fast-CGI ...
     
  3. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

  4. rfnx

    rfnx Member

    Also doesn't run on Fast-CGI ...

    installed php-fpm:
    upload_2024-6-7_9-31-55.png

    Same result after switching:

    upload_2024-6-7_9-34-21.png
     
  5. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    You just did apt install php-fpm ?
    This is not a single step on the linked howto at step 9
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you wait until changes were written to disk, the red dot in the upper navigation bar of ISPConfig was gone already? Which errors did you got in the website error.log after you switched to fastcgi mode and accessed the site?
     
    ztk.me likes this.
  7. rfnx

    rfnx Member

    it's all installed:

    Code:
    # dpkg -s apache2 apache2-utils php8.2 php8.2-fpm php8.2-common php8.2-gd php8.2-mysql php8.2-imap php8.2-cli php8.2-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear mcrypt imagemagick libruby libapache2-mod-python php8.2-curl php8.2-intl php8.2-pspell php8.2-sqlite3 php8.2-tidy php8.2-xmlrpc php8.2-xsl memcached php-memcache php-imagick php8.2-zip php8.2-mbstring memcached libapache2-mod-passenger php8.2-soap php8.2-opcache php-apcu libapache2-reload-perl php8.2-mcrypt
    shows
    Code:
    Status: install ok installed
    for all packages
     
  8. rfnx

    rfnx Member

    sure! Still 403 :(
     
  9. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    What about the a2enmod / a2enconf instructions?
     
  10. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    On ISPConfig => System => Server configuration => [ host ] => Web =>
    does it look similar to this?
    By the way,
    apt install incron
    to enable that trigger thing.
     

    Attached Files:

  11. rfnx

    rfnx Member

    used the auto install script but double checked all modues now:

    Code:
    Module proxy already enabled
    Module proxy_fcgi already enabled
    Module setenvif already enabled
    Conf php8.2-fpm already enabled
    root@maran:/etc/apache2/sites-enabled# ^C
    root@maran:/etc/apache2/sites-enabled# a2enmod suexec rewrite ssl actions include dav_fs dav auth_digest cgi headers actions alias
    Module suexec already enabled
    Module rewrite already enabled
    Considering dependency setenvif for ssl:
    Module setenvif already enabled
    Considering dependency mime for ssl:
    Module mime already enabled
    Considering dependency socache_shmcb for ssl:
    Module socache_shmcb already enabled
    Module ssl already enabled
    Module actions already enabled
    Considering dependency mime for include:
    Module mime already enabled
    Module include already enabled
    Considering dependency dav for dav_fs:
    Module dav already enabled
    Module dav_fs already enabled
    Module dav already enabled
    Considering dependency authn_core for auth_digest:
    Module authn_core already enabled
    Module auth_digest already enabled
    Your MPM seems to be threaded. Selecting cgid instead of cgi.
    Module cgid already enabled
    Module headers already enabled
    Module actions already enabled
    Module alias already enabled
    root@maran:/etc/apache2/sites-enabled# nano /etc/apache2/conf-available/httpoxy.conf
    root@maran:/etc/apache2/sites-enabled# 2enconf httpoxy
    systemctl restart apache2
    -bash: 2enconf: Kommando nicht gefunden.
    root@maran:/etc/apache2/sites-enabled# systemctl restart apache2
    root@maran:/etc/apache2/sites-enabled# a2enconf httpoxy
    Conf httpoxy already enabled
     
  12. rfnx

    rfnx Member

    yep ;)

    # a2enmod proxy_fcgi setenvif
    a2enconf php8.2-fpm
    Considering dependency proxy for proxy_fcgi:
    Module proxy already enabled
    Module proxy_fcgi already enabled
    Module setenvif already enabled
    Conf php8.2-fpm already enabled
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Which exact error do you get in the log, the error should be different for fastcgi and php-fpm. Please always post the exact error messages from the log. Also, do you have a file with .err file ending for this website in /etc/apache2/sites-available/ folder.
     
  14. rfnx

    rfnx Member

    not really:
    upload_2024-6-7_9-55-56.png

    incron was not installed, I did that:
    upload_2024-6-7_9-57-36.png

    still 403 ;)
     
  15. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    Look further south, there's a PHP Settings bar
     
  16. rfnx

    rfnx Member

    as far I can see there is no difference ... allways "AH01630"

    Here the a longer tail of the logfile:
    Code:
    [Fri Jun 07 09:03:47.692301 2024] [authz_core:error] [pid 1013:tid 139655936689856] [client 2a01:c22:91a5:a400:760c:8312:6a9f:bd08:43046] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:03:47.692451 2024] [authz_core:error] [pid 1013:tid 139655936689856] [client 2a01:c22:91a5:a400:760c:8312:6a9f:bd08:43046] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:14:26.906671 2024] [authz_core:error] [pid 1011:tid 139655819290304] [client 2a01:c22:91a5:a400:760c:8312:6a9f:bd08:38224] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:14:26.906811 2024] [authz_core:error] [pid 1011:tid 139655819290304] [client 2a01:c22:91a5:a400:760c:8312:6a9f:bd08:38224] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:14:28.521147 2024] [authz_core:error] [pid 1011:tid 139655970260672] [client 2a01:c22:91a5:a400:760c:8312:6a9f:bd08:38224] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:14:28.521292 2024] [authz_core:error] [pid 1011:tid 139655970260672] [client 2a01:c22:91a5:a400:760c:8312:6a9f:bd08:38224] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:22:31.824287 2024] [authz_core:error] [pid 1013:tid 139655819192000] [client 5.255.231.168:50858] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:22:31.824516 2024] [authz_core:error] [pid 1013:tid 139655819192000] [client 5.255.231.168:50858] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:32:45.732372 2024] [authz_core:error] [pid 18391:tid 140655967835840] [client 213.180.203.113:49612] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:32:45.732582 2024] [authz_core:error] [pid 18391:tid 140655967835840] [client 213.180.203.113:49612] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:33:19.896219 2024] [authz_core:error] [pid 19057:tid 140353806001856] [client 5.61.150.83:28320] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:33:19.896504 2024] [authz_core:error] [pid 19057:tid 140353806001856] [client 5.61.150.83:28320] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:33:44.312435 2024] [authz_core:error] [pid 19056:tid 140353789216448] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:56824] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:33:44.312653 2024] [authz_core:error] [pid 19056:tid 140353789216448] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:56824] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:39:53.657748 2024] [authz_core:error] [pid 19057:tid 140352459622080] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:53852] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:39:53.657893 2024] [authz_core:error] [pid 19057:tid 140352459622080] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:53852] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:39:56.644374 2024] [authz_core:error] [pid 19057:tid 140353806001856] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:53852] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:39:56.644519 2024] [authz_core:error] [pid 19057:tid 140353806001856] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:53852] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:42:49.434251 2024] [authz_core:error] [pid 19056:tid 140352795166400] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:39242] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:42:49.434491 2024] [authz_core:error] [pid 19056:tid 140352795166400] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:39242] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:43:50.435778 2024] [authz_core:error] [pid 19057:tid 140352476407488] [client 5.61.150.83:28292] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:43:50.435940 2024] [authz_core:error] [pid 19057:tid 140352476407488] [client 5.61.150.83:28292] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:53:25.091271 2024] [authz_core:error] [pid 20154:tid 140393580570304] [client 5.61.150.83:28340] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:53:25.091433 2024] [authz_core:error] [pid 20154:tid 140393580570304] [client 5.61.150.83:28340] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:10.469672 2024] [authz_core:error] [pid 20907:tid 140588036912832] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:46898] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:10.469821 2024] [authz_core:error] [pid 20907:tid 140588036912832] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:46898] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:11.838839 2024] [authz_core:error] [pid 20907:tid 140588020127424] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:46898] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:11.839028 2024] [authz_core:error] [pid 20907:tid 140588020127424] [client 2a01:c22:91a5:a400:dc7c:fa03:d7a0:dbf6:46898] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:51.649443 2024] [authz_core:error] [pid 20907:tid 140588691216064] [client 5.61.150.83:28293] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:51.649595 2024] [authz_core:error] [pid 20907:tid 140588691216064] [client 5.61.150.83:28293] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:53.537359 2024] [authz_core:error] [pid 20907:tid 140588674430656] [client 5.61.150.83:28293] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:53.537560 2024] [authz_core:error] [pid 20907:tid 140588674430656] [client 5.61.150.83:28293] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:54.160381 2024] [authz_core:error] [pid 20907:tid 140588666037952] [client 5.61.150.83:28293] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:54.160705 2024] [authz_core:error] [pid 20907:tid 140588666037952] [client 5.61.150.83:28293] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:54.603170 2024] [authz_core:error] [pid 20907:tid 140588657645248] [client 5.61.150.83:28293] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 09:57:54.603328 2024] [authz_core:error] [pid 20907:tid 140588657645248] [client 5.61.150.83:28293] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 10:02:11.959641 2024] [authz_core:error] [pid 22142:tid 140511696381632] [client 5.61.150.83:28335] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    [Fri Jun 07 10:02:11.959871 2024] [authz_core:error] [pid 22142:tid 140511696381632] [client 5.61.150.83:28335] AH01630: client denied by server configuration: /var/www/adaptopedia.com/web/index.php
    
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, and what about the second question I asked?

     
  18. rfnx

    rfnx Member

    OK
    upload_2024-6-7_10-11-37.png
    The "Install incron trigger file to reload PHP-FPM" checkbox was unchecked.
    did that:
    upload_2024-6-7_10-12-18.png

    still 403
     
  19. rfnx

    rfnx Member

    Yes I do!

    The content looks exactly like the vhost
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    Incron is not needed for your setup or related to your issue. Incron is not used for reloading php-fpm by ISPConfig; it's just an option to trigger a reload if you write your own application that changes the config, but ISPconfig itself does not use it and MediaWiki will not us enor need it too. Installing it is ok, but it was not necessary and that's why it is not installed by default.
     
    ztk.me likes this.

Share This Page