Archiv verlassen und diese Seite im Standarddesign anzeigen : apache + config datei...
habe totalle schwierigkeiten beim starten des apache....er sagt mir das in zwiele 430 ein fehler auftritt...da schaue ich nach und finde hostname....habe schon alles versucht...meinen host eingetragen, loacaleip usw. kann mir jemand helfen oder gibt es ne anleitung , die ich übersehen habe?
bitte poste mal die genaue Fehlermeldung
gerne , aber net lachen :(
Syntax error on line 430 of /etc/httpd/httpd.conf:
Invalid command 'localhost', perhaps mis-spelled or defined by a module not included in the server configuration
absoluter apache n00b...wenn es dazu ne gute anleitung gibt, immer her damit..will das ganze nachher nur zum umleiten des mldonkey ports nutzen...
ok und jetzt noch Zeile 430 Deiner 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.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
is set by SuSEconfig according to the setting of the
# FQHOSTNAME variable in /etc/sysconfig/network/config!
localhost
habe mal alles kopiert...was da wichtig ist... :ugly:
mach mal ein #
vor das localhost
lol....jetzt geht es...wie peinlich....aber soll da net nromalerweise der hostname stehen...naja danke dafür...
gut das es socleh foren gibt, als unwissender bzw. neuling in der linuxwelt, ist das echt ein segen!
Original geschrieben von MrDanger
aber soll da net nromalerweise der hostname stehen...
Nunja, der Ausschnitt, den du gepostet hast, behandelt die Direktive 'ServerName'.
In der Config sollte das dann so stehen:
ServerName localhostDann wäre es ok.
Aber wenn es ohne läuft ist es sicher auch ok. :)
Gruss,
Dennis
hier der dazugehörige Auszug aus der httpd.conf:
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
Er kann weggelassen werden. Einen zu vergeben ist natürlich besser. zwecks redirection, aber dann nicht localhost, sondern FQDN
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.