(Answer) (Category) NetMAXFAQ : (Category) Routing / Fire Wall / Proxy Cache :
CGIs won't work through my NetMAX proxy. What can I do?
Applies to: NetMAX version 3.0 - 4.0x
address-suppressed

CGIs won't work through my NetMAX proxy. What can I do?

If you are having trouble using cgi's through your proxy you need to uncomment a few lines in some files.

In your NetMAX interface go to | Home |Personal and click on root under files management.

In root browse to this directory:
var --> conf --> sdb --> prototypes and click on the file squid.conf to edit it. Remove the "#" in front of these two lines:

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
Save the file.

Browse back to root. From root browse to etc and click on the file proxycache.conf to edit it.
Remove the "#" in front of these two lines:

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
Save the file.

Browse back to root. From root browse to:
var --> conf --> last_sdb --> prototypes and click on the file squid.conf to edit it. Remove the "#" in front of these two lines:

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
Save the file.

After you have made the changes to these files you will need to restart the proxy. To do so you must log in to the command line interface using telnet or logging into the console.
Once you have logged into the command line type: su [enter] and give the password for the root user.

Now that you are logged in as the root user you can restart the proxycache server by typing:

/usr/netmax/etc/rc.d/proxycache.sh restart

Now you will be able to use CGIs on computers using your proxycache.
address-suppressed

Previous: (Answer) Do the L2.2Pv3.x FireWall products include Traffic Rerouting?
Next: (Answer) I locked myself out of NetMAX with firewall rules. What can I do?
This document is: http://www.netmax.org/cgi-bin/fom.cgi?file=408
[Search] [Appearance]
This is a Faq-O-Matic 2.721.
This FAQ administered by ...Cybernet Systems Corp.