Getting a 403 forbidden error for simplesaml after Apache upgrade

Russell England

My simplesaml was working perfectly until I upgraded Apache to 2.4.6 on Ubuntu

The error I was getting :

Forbidden

You don't have permission to access /simplesaml/ on this server.
Russell England

The instructions for installing simplesamlphp on Apache only require an alias for the simplesamlphp directory :

https://simplesamlphp.org/docs/stable/simplesamlphp-install#section_6

But for Apache 2.4.6+ the security has changed - it worked for me when I added a Directory directive. eg:

<VirtualHost *:80>
    ServerName mywebsite.dev
    DocumentRoot /home/myuser/www/mywebsite/

    <Directory /home/myuser/www/mywebsite/>
        Require all granted
    </Directory>

    Alias /simplesaml /var/simplesamlphp/www

    <Directory /var/simplesamlphp/www/>
        Require all granted
    </Directory>

</VirtualHost>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

getting 403 forbidden error

Apache 403 Forbidden Error

Apache 2.4.7 403 Forbidden Error

Access forbidden! Error 403 on apache

Upgrade to 18.04: "failed to fetch" 403 Forbidden Error

403 Forbidden Error on Post request after upgrade of macOS from BigSur to Monterey

403 Forbidden Error on Apache2 server

Getting 403 (Forbidden) error while forwarding request of SSL from Apache server to Tomcat

'403 forbidden error' after xampp installation

Laravel 403 Forbidden Error after host move

403 Forbidden error in sudo apt-get upgrade ubuntu 17.4

Apache 2.4.18, 403: Forbidden

403 Forbidden on Apache 2.4

Apache gives 403 Forbidden

Apache VirtualHost 403 Forbidden

Web Scraping getting error (HTTP Error 403: Forbidden) using urllib

GettIng 403 Forbidden in Spring Application after migration to Spring Security 6

Apache throws 403 Forbidden after moving DocumentRoot (CentOS 6.4)

Drupal, getting list of nodes gives 403 Forbidden Error

Getting '403 Forbidden' error when using headless chrome with python selenium

Deployed NextJS over Firebase but getting Error 403 Forbidden

20.04 - Trying to install npm I keep getting 403 forbidden error

Ajax post getting 403 forbidden error with Django Rest Framework

Getting 403 Forbidden error when requesting JSON output with apikey

Trying to access GCS bucket but getting a `403 - Forbidden` error message

I'm getting a 403 Forbidden error with the Google Wallet Objects API

Getting Error 403 Forbidden to ajax on https on ec2 instance

Microsoft Graph API : "403 forbidden" error when getting groups conversations

Getting 403 Forbidden error message when trying to access a cusotm route

TOP Ranking

HotTag

Archive