LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2009, 02:58 PM   #1
NykuTz
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
Apache + CGI


Hello and first of all, don't say just "Search on the forum" I've do it but nothing works for me. Ok..now my problem

I have a Ubuntu 8.04.3 LTS with Apache/2.2.14 and Perl v5.8.8.

I try to install CGI-IRC script but I have a problem, I put the script on

Code:
/usr/local/apache/cgi-bin/
My apache configuration:

Code:
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"

Code:
<Directory "/usr/local/apache/cgi-bin">
    AllowOverride all
    Options +Indexes +ExecCGI
    Order allow,deny
    Allow from all
</Directory>
Code:
DirectoryIndex irc.cgi index.cgi index.pl index.php index.html
And now when I go to http://myserver.com/cgi-bin/irc.cgi I get this error

Code:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, Nyku@Ro-WareZ.Com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
But 5 minutes ago I was getting a 403 error

Anyone can help me with this ? I have like 5 hours front the pc trying to solve it, I read in 324534645634656 forums, change everyting but nothing helps me.

Thank you
 
Old 11-02-2009, 03:56 PM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
Error log?

Did you take a look at your error log / suexec log? The answer is almost certainly there.
 
Old 11-02-2009, 04:00 PM   #3
NykuTz
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by janoszen View Post
Did you take a look at your error log / suexec log? The answer is almost certainly there.
I get just this error (I fix others)

Code:
[Mon Nov 02 20:42:38 2009] [error] [client 192.168.187.1] (2)No such file or directory: Could not open password file: /www/passwd/user/.htpasswd-netmon
[Mon Nov 02 20:42:38 2009] [error] [client 192.168.187.1] File does not exist: /usr/local/apache/htdocs/favicon.ico
[Mon Nov 02 20:42:38 2009] [error] [client 192.168.187.1] (2)No such file or directory: Could not open password file: /www/passwd/user/.htpasswd-netmon
[Mon Nov 02 20:42:38 2009] [error] [client 192.168.187.1] File does not exist: /usr/local/apache/htdocs/favicon.ico
[Mon Nov 02 20:42:39 2009] [error] [client 192.168.187.1] (2)No such file or directory: Could not open password file: /www/passwd/user/.htpasswd-netmon
[Mon Nov 02 20:42:39 2009] [error] [client 192.168.187.1] File does not exist: /usr/local/apache/htdocs/favicon.ico
[Mon Nov 02 20:42:41 2009] [error] [client 192.168.187.1] (2)No such file or directory: Could not open password file: /www/passwd/user/.htpasswd-netmon
[Mon Nov 02 20:42:41 2009] [error] [client 192.168.187.1] File does not exist: /usr/local/apache/htdocs/favicon.ico
[Mon Nov 02 20:42:45 2009] [error] [client 192.168.187.1] (2)No such file or directory: Could not open password file: /www/passwd/user/.htpasswd-netmon
[Mon Nov 02 20:42:45 2009] [error] [client 192.168.187.1] File does not exist: /usr/local/apache/htdocs/favicon.ico
 
Old 11-03-2009, 10:13 AM   #4
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
Reason

Well, if Apache can't find a referenced .htpasswd file, that is reason enough for a HTTP 500 error. How about fixing that or removing the reference?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CGI and Apache Sevoma Linux - Software 7 02-06-2005 06:55 PM
about Apache and CGI kpachopoulos General 1 11-17-2004 05:23 PM
Apache And CGI bmh.01 Linux - Software 2 05-31-2003 12:52 PM
cgi with apache ApacheMan252 Linux - Software 27 02-26-2003 08:41 PM
apache v2.0.44 + cgi ; securing cgi-support in apache markus1982 Linux - General 0 01-20-2003 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration