Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ActiongetCollectionInformation failed on error Forbidden #1364

Open
PierreChambon opened this issue Dec 1, 2020 · 0 comments
Open

Comments

@PierreChambon
Copy link

PierreChambon commented Dec 1, 2020

I was getting errors
Error: ActiongetCollectionInformation failed on error Forbidden
Error: Actionwhoami failed on error Forbidden
Error: ActionloadConf failed on error Forbidden
When trying to access my brat server.

When running the troubleshooting script, I was getting the following message:
Received forbidden (403) when trying to access [brat_server_url]
Have you perhaps forgotten to enable execution of CGI in your web server configuration?

Adding the following line to my httpd.conf file (imported in apache2.conf file):
Options +ExecCGI
Fixed the problem.

This is how my httpd.conf file looks like now:

<Directory /var/www/html>
    AllowOverride Options Indexes FileInfo Limit
    AddType application/xhtml+xml .xhtml
    Options +ExecCGI
    AddType font/ttf .ttf
    # For CGI support
    AddHandler cgi-script .cgi
    # Comment out the line above and uncomment the line below for FastCGI
    #AddHandler fastcgi-script fcgi
</Directory>

#For FastCGI, Single user installs should be fine with anything over 8
#FastCgiConfig -maxProcesses 16

And of course then I reloaded with
sudo systemctl restart apache2

Hope it can help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant