You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vieri Di Paola <vi...@yahoo.com> on 2002/01/31 01:18:45 UTC
Basic Apache configuration - 500 Internal Server Error
I'm having trouble accessing the default /var/www/html/index.shtml. With
Netscape Navigator, I get an Internal Server Error when I issue
"127.0.0.1" or "localhost". Also, since I don't have a static IP, each
time I connect via PPP to my ISP, I save my dynamic local IP number.
When I insert my local IP in the Netscape browser, the same 500 Internal
Server Error page comes up.
The only service that works fine for me is ssh. I can log in either with
"ssh localhost" or "ssh <myDynamicLocalIP>" (once connected).
I'm using Apache-AdvancedExtranetServer/1.3.20 bundled with Mandrake
Linux 8.1. The Bastille-firewall is disabled.
/var/log/httpd/error_log contains:
[Thu Jan 31 00:53:04 2002] [info] created shared memory segment #851973
[Thu Jan 31 00:53:04 2002] [notice] Apache-AdvancedExtranetServer/1.3.20
(Mandrake Linux/3mdk) mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.0.6 configured
-- resuming normal operations
[Thu Jan 31 00:53:04 2002] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Thu Jan 31 00:53:04 2002] [info] Server built: Aug 24 2001 17:59:56
hostname is 'localhost.localdomain'.
/etc/hosts contains:
127.0.0.1
localhost.localdomain
localhost
/etc/hosts.allow and hosts.deny are blank.
/etc/networks contains:
loopback
127.0.0.0
localnet
0.0.0.0
/etc/resolv.conf contains my ISP's nameserver address.
Relevant parts of /etc/httpd/conf/httpd.conf are:
Port 80
ServerName localhost
Options ExecCgi
ServerType standalone
ServerRoot /etc/httpd
#LockFile /etc/httpd/httpd.lock
PidFile /var/run/httpd.pid
ScoreBoardFile /etc/httpd/httpd.scoreboard
LogLevel debug
ResourceConfig /dev/null
AccessConfig /dev/null
Relevant parts of /etc/httpd/conf/commonhttpd.conf are:
#User apache
#Group apache
User nobody
Group nobody
ServerAdmin root@localhost
DocumentRoot /var/www/html
<Directory />
Options followSymLinks
AllowOverride None
</Directory>
<Ifmodule mod_dir.c>
DirectoryIndex index.html index.php index.php3 index.shtml index.cgi
index.pl index.htm Default.htm default.htm
</Ifmodule>
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
<Directory /var/www/html>
Options indexes followSymLinks multiViews
AllowOverride All
Order allow,deny
Allow from all
Satisfy any
</Directory>
<Location /index.shtml>
Options +includes
Satisfy any
</Location>
I've searched google and the Apache documentation but haven't
encountered any information regarding this particular situation.
Any suggestions?
Regards,
Vieri
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org