Tag Info

New answers tagged

2

Make sure you have set the following path in your /etc/apache2/apache2.conf: ScriptAlias /cgi-bin/ "/path/to/cgi-bin/" and that your scripts are in that folder. If your scripts ends on .pl make sure to change the line AddHandler cgi-script .cgi to AddHandler cgi-script .cgi .pl in /etc/apache2/apache2.conf and check that it is not commented out. ...


0

I'm not sure if this is 100% correct but it 100% works. <VirtualHost *:80> ServerName nagios.example.org ServerAlias nagios ServerAdmin webmaster@example.org DocumentRoot /usr/local/nagios/share ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin ScriptAlias /cgi-bin /usr/local/nagios/sbin Alias /nagios ...



Top 50 recent answers are included