Hi Mark,
Still no luck. I keep getting "The webpage cannot be found" errors. Is it possible that I am missing an Apache package? Here are my index,html and config files (if it would help).
Thanks,
Jon
----- Original Message ----
From: Mark Grieveson <dg135@torfree.net>
To: debian-user@lists.debian.org
Sent: Sunday, December 16, 2007 9:37:41 AM
Subject: Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1
On Sun, 16 Dec 2007 08:05:04 +0000 (UTC)
debian-user-digest-request@lists.debian.org wrote:
> <Directory "/var/www/cgi-bin">
> AllowOverride None
> Options Indexes Includes FollowSymLinks
> Order deny,allow
> Deny from all
> Allow from 192.168.1
> </Directory>
>
> Neither of these has allowed my cgi scripts to run. Can someone
> please tell me what I am doing wrong?
> Sincerely,
> Jon
Red Hat, and others, use /var/www/cgi-bin, as the directory. I've
found, for Debian, that the correct directory is /usr/lib/cgi-bin/; so,
change <Directory "/var/www/cgi-bin"> to:
<Directory "/usr/lib/cgi-bin">.
When I ran a webserver, I also had the scriptalias stuff in the
file /etc/apache2/sites-available/default file. I was running a
virtual host though; so, for yourself, the sites-available file may not
be important.
Mark
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Attachment:
Apache2.tar
Description: Binary data