Packages » iptotal
ID #1189
I have installed Apache and iptotal but the page isn't working?
The IPTOTAL page is a so called CGI generated page and thus the iptotal directory must be granted CGI execution rights, otherwise you'll get:
Forbidden
You don't have permission to access /iptotal/iptotal.cgi on this server.
Apache/1.3.27 Server at dingetje.homeip.net Port 80
To add CGI rights to the /www/iptotal directory do this:
- open httpd.conf in your favorite editor
- locate the next section:
<IfModule mod_alias.c> - scroll down a bit until you see the closing </IfModule>
- Add the following 3 lines in the next line:
<Directory "/www/iptotal">
Options +ExecCGI
</Directory>
- see below for another required change
However, the /www/iptotal directory also contains "normal" files, so it cannot be turned into a ScriptAliased directory (like /www/cgi). The solution is to use the AddHandler directive as shown below:
# # AddHandler allows you to map certain file extensions to "handlers", # actions unrelated to filetype. These can be either built into the server # or added with the Action command (see below) # # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # AddHandler cgi-script .cgi |
This code is already available in the default httpd.conf but the AddHandler line is commented out.
Last update: 2005-04-14 22:35
Author: dingetje
Revision: 1.0
Print this record
Send to a friend
Show this as PDF file
Export as XML-File
You cannot comment on this entry