On Dec 16, 2007, at 2:29 PM, Jon D. Irish wrote:

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

Jon,

By "the webpage cannot be found", do you mean a "404 Not Found" response? What URL are you using to make the request? I ask this because it is important to ensure, first of all, that your request is actually being received by Apache. If it is, there should be an entry in both the access and error logs with information about the request, such as the path of the file that Apache believes you are requesting. Unless you have specified an alternate location, such as with the "ErrorLog" directive, then I think you will find the error log in / var/log/apache2.

HTH

Bogart


----- Original Message ----
From: Mark Grieveson <[EMAIL PROTECTED]>
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)
[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


______________________________________________________________________ ______________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http:// mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ <Apache2.tar>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to