apache Webserver

  • #1
P

-Pascal-

Mitglied
Themenersteller
Dabei seit
04.03.2005
Beiträge
8
Reaktionspunkte
0
Hallo,
Zwei Fragen: ::)

1. Ich hab einen Apache webserver auf meiner Platte installiert.Wenn ich nun localhost aufrufe kommt folgende Fehlermeldung:

Firefox: The connection was refused.....
IE:ungültige syntax..... Die Seite kann nicht angezeigt werden.

kann das am Router leigen oder an der winxp Firewall oder an Sp2?

2. Ich hab den server nur zu testzwecken instaliert muss ich bei der konfiguration irgendwas beachten damit kein fremder von ausserhalb darauf zugreifen kann?


Mit freundlichem Gruß
Pascal
 
  • #3
hm bringt nichts... :-\
 
  • #4
Mal ne blöde Frage, der Apache ist gestartet, Oder ???
 
  • #5
ja klar ;D
allerdings sind das die fehler die auftreten wenn er nicht läuft ...
Im taskmanager sind allerdings alle 2 Apache Prozesse vorhanden.auch der apache monitor zeigt das er gestartet ist.
 
  • #6
Hi

Blockiert vielleicht eine Firewall den Zugriff?

Gruß, Michael
 
  • #7
Das probier ich gelich mal aus aber kann das überhaupt sein wenn ich von meinem pc auf meinen pc zugreif?
also hatte geraade eben die Firewall (von Windows) dektiviert und es geht trotzdem nicht :(
 
  • #8
Probier mal folgendes:

Eingabeaufforderung => cd dein_apache_verzeichnis/bin/

dort eingeben:

apache -k stop
apache -k start

evtl. Fehlermeldung aufschreiben und hier Posten.

gruss conny
 
  • #9
hm keine Fehlermeldung... :-\
 
  • #10
Stimmt deine httpd.conf ???

Bitte beachte, das die gezeigten Pfadangaben nur Beispiele sind !!!

...
# DocumentRoot Pfad_zum_WebServer/htdocs
DocumentRoot H:/server/Apache2/htdocs

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the default to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
# <Directory Pfad_zum_WebServer/htdocs>

<Directory H:/server/Apache2/htdocs>

#
# Possible values for the Options directive are None, All,
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that MultiViews must be named *explicitly* --- Options All
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
#
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be All, None, or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>
...

...
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex index.html index.html.var
...
 
  • #11
DirectoryIndex index.html index.html.var

DocumentRoot C:/www/Apache2/htdocs

<Directory C:/www/Apache2/htdocs>

So siehts bei mir aus und der Pfad stimmt...
 
Thema:

apache Webserver

ANGEBOTE & SPONSOREN

Statistik des Forums

Themen
113.840
Beiträge
707.963
Mitglieder
51.494
Neuestes Mitglied
Flensburg45
Oben