[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Apache & cgi Problem



>>>>> "gf" == Greg Fall <gmf dweezil dyn ml org> writes:

>> > I have installed Apache-1.3.1 on two machines locally and one works
>> > with cgi's and the other doesn't.
>> > I am using the same conf files and cgi's on both machines.
>> > 
>> did you restart the httpd daemon?

Yes

gf> And did you check the permissions on the script?

Yes

I can point a browser at the script directly and it runs fine, 
but it doesn't work or display anything on the webpage using 
the browser when I put a line such as this on my page:

<font color=#900000><h5> Vister Number:</h5></font>
<!-- #exec cgi="/cgi-bin/counter.cgi" -->

/etc/httpd/conf/access.conf:

Options Indexes Includes ExecCGI FollowSymLinks

/etc/httpd/conf/srm.conf:

ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/

# To use CGI scripts:
AddHandler cgi-script .cgi
AddHandler cgi-script .pl

-- 
mailto:ray ray clark net                        http://www.clark.net/pub/ray
============================================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]