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:


You don't have permission to access /iptotal/iptotal.cgi on this server.


Apache/1.3.27 Server at Port 80

To add CGI rights to the /www/iptotal directory do this:

  1. open httpd.conf in your favorite editor
  2. locate the next section:
    <IfModule mod_alias.c>
  3. scroll down a bit until you see the closing </IfModule>
  4. Add the following 3 lines in the next line:
    <Directory "/www/iptotal">
    Options +ExecCGI
  5. 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 Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 4.25 from 5 (4 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry