Web Hosting Talk







View Full Version : cgi-wrap? eh?


joesmoh
04-06-2002, 01:12 AM
Hi,

I have a raq and I am trying to use the AXS counter by using the following command: "<!--#exec cgi="../axs/ax.cgi" -->" Except, it won't execute!! I just see the command when I go to the html source.

I have a Raq4. The RackShack Support told me that I have to disable the cgi-wrap in the directory that contains ax.cgi.

Anyone know how to fix this problem??

thanks!

latebowl
04-08-2002, 12:42 AM
hi joesmoh,

to disable cgi-wrap for a folder, ssh into your raq and create a file called ".htaccess" within the folder you want it turned off for. The .htaccess file should contain the following text:

Options +ExecCGI
AddHandler cgi-script .cgi

:)