[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE : débutant apache



Hello

Dans le httpd.conf : 

# ServerName: allows you to set a host name which is sent back to
clients for
# your server if it's different than the one the program would get
(i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name
you
# define here must be a valid DNS name for your host. If you don't
understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address
here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
ServerName foo.bar


Remplace foo.bar par ce que tu veux, mais pas ... " You cannot just
invent host names and hope they work" :p

Donc si tu as un DNS ext, utilise le, sinon, mets ton IP !

+++
Stef
> -----Original Message-----
> From: Benoït [mailto:benoit.br@laposte.net]
> Sent: Tuesday, May 07, 2002 5:18 PM
> To: debian-user-french@lists.debian.org
> Subject: débutant apache
> 
> Salut la liste,
> 
> Je débute sur apache, j'ai installé,
> apache en .deb, postgres, php.
> J'ai commencé à lire la doc, mon premier réflexe à été de
> taper dans mon navigateur (pour tester la config par défaut et
> lire /etc/www/index.html):
> 
> http://venus/ (venus étant le nom de ma machine)
> Beuh...
> Rien.
> 
> Voici /etc/hosts
> 
> 127.0.0.1       venus
> 
> # The following lines are desirable for IPv6 capable hosts
> # (added automatically by netbase upgrade)
> 
> ::1     ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
> 
> J'ai ce message d'apache:Starting web server: apache[Tue May
> 7 12:40:58 2002] [alert] apache: Could not
> determine the server's fully qualified domain name, using
> 127.0.0.1 for ServerName
> 
> http://127.0.0.1/ ne donne rien.:-(
> 
> 
> 
> Que se passe-t-il?
> Merci d'avance.
> Benoît
> 
> Accédez au courrier électronique de La Poste : www.laposte.net ; 3615
> LAPOSTENET (0,13 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)"
> 
> 
> 
> 
> --
> To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org


--
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: