Subject: connection refused whith apache
To: None <port-mac68k@netbsd.org>
From: =?iso-8859-1?Q?J=E9r=F4me?= Duquennoy <jduquennoy@mac.com>
List: port-mac68k
Date: 10/04/2001 11:54:48
Hello
I've installed apache on my NetBSD box. It launch fine, but I can't
connect to it : the browser returns "connection refused" ...
Does anyone have an idea ?
Here is my httpd.conf file :
ServerRoot "/usr/pkg"
PidFile /var/run/httpd.pid
ScoreBoardFile /var/run/httpd.scoreboard
MaxKeepAliveRequests 50
KeepAliveTimeout 10
<IfModule prefork.c>
StartServers 2
MinSpareServers 2
MaxSpareServers 5
MaxClients 10
MaxRequestsPerChild 500
</IfModule>
<IfModule threaded.c>
StartServers 2
MaxClients 10
MinSpareThreads 2
MaxSpareThreads 10
ThreadsPerChild 10
MaxRequestsPerChild 500
</IfModule>
<IfModule perchild.c>
NumServers 2
StartThreads 5
MinSpareThreads 2
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 500
</IfModule>
Timeout 300
##BindAddress *
Port 80
## ca vas pas tourner en root : pas fou
User nobody
Group nobody
ServerName 192.168.63.1
## sur les pages d'erreur generees, mon e-mail est affiche
ServerAdmin jduquennoy@freesurf.fr
ServerSignature On
DocumentRoot "/partage/web"
# bon quelques "droits" accordes...
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/partage/web">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
## nom du fichier contenant les droits d'acces pour un repertoire
AccessFileName .htaccess
## on ne peut pas voire les fichiers de r<8E>glage de droits d'acc<8F>s
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
UseCanonicalName Off
<IfModule mod_mime.c>
TypesConfig /usr/pkg/etc/httpd/mime.types
</IfModule>
DefaultType text/plain
AddDefaultCharset ISO-8859-1
DirectoryIndex index.html
# ca c'est pour economiser du traffic...(et du temps)
HostnameLookups Off
# r<8E>glage des logs
# could be: debug,info, notice, warn, error, crit, alert, emerg
ErrorLog /var/log/httpd/error_log
LogLevel info
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
# ca c'est pour les script kiddies! :]
ServerTokens Min
# ca c'est pour l'admin seulement!!!
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 192.168.63.15
</Location>
thank you for your help
Jerome Duquennoy