localhost nicht erreichbar

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

localhost nicht erreichbar

Postby NiAlMa » 14. June 2011 06:43

Hallo

habe win7 64-bit und Xampp in C installiert. Habe in httpd den Dokumentenroot in E:/Projekte geändert und nun bekomme ich eine 403-Meldung wenn ich localhost oder 127.0.0.1 aufrufe...

Meine hosts sieht so aus

# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
# ::1 localhost



Nachtrag: Wenn ich 127.0.0.1/nialma/ aufrufe funktiniert es.....

Wo kann ich es einstellen, dass es mit die Ordner anzeigt wenn ich nur 127.0.0.1 öffne? Habe mehrer Projekte in dem Ordner und da gibt es keine index.*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XAMPP 1.8 for local development/testing
Codeigniter for programming
YAML for Structure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NiAlMa
 
Posts: 50
Joined: 28. March 2008 07:22
Location: Schwabenland
Operating System: WU7x64

Re: localhost nicht erreichbar

Postby Altrea » 14. June 2011 08:33

Hast du neben dem DocumentRoot auch das Directory in der httpd.conf Datei umgelegt?
Dort kann man die Index Option setzen, bzw. dort ist sie bereits gesetzt.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: localhost nicht erreichbar

Postby NiAlMa » 15. June 2011 09:19

Habe Directory und DocumentRoot auf "E:/PROJEKTE" gesetzt

Im Errorlog steht


[Wed Jun 15 08:12:26 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 15 08:12:26 2011] [notice] Digest: done
[Wed Jun 15 08:12:28 2011] [notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Wed Jun 15 08:12:28 2011] [notice] Server built: Jul 22 2009 11:35:54
[Wed Jun 15 08:12:28 2011] [notice] Parent: Created child process 3116
[Wed Jun 15 08:12:29 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 15 08:12:29 2011] [notice] Digest: done
[Wed Jun 15 08:12:30 2011] [notice] Child 3116: Child process is running
[Wed Jun 15 08:12:30 2011] [notice] Child 3116: Acquired the start mutex.
[Wed Jun 15 08:12:30 2011] [notice] Child 3116: Starting 150 worker threads.
[Wed Jun 15 08:12:30 2011] [notice] Child 3116: Starting thread to listen on port 443.
[Wed Jun 15 08:12:30 2011] [notice] Child 3116: Starting thread to listen on port 80.
[Wed Jun 15 08:12:30 2011] [notice] Child 3116: Starting thread to listen on port 443.
[Wed Jun 15 08:12:30 2011] [notice] Child 3116: Starting thread to listen on port 80.
[Wed Jun 15 08:15:04 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jun 15 08:15:04 2011] [notice] Child 3116: Exit event signaled. Child process is ending.
[Wed Jun 15 08:15:05 2011] [notice] Child 3116: Released the start mutex
[Wed Jun 15 08:15:06 2011] [notice] Child 3116: All worker threads have exited.
[Wed Jun 15 08:15:06 2011] [notice] Child 3116: Child process is exiting
[Wed Jun 15 08:15:06 2011] [notice] Parent: Child process exited successfully.
Syntax error on line 203 of C:/xampp/apache/conf/httpd.conf:
allow and deny must be followed by 'from'
Syntax error on line 203 of C:/xampp/apache/conf/httpd.conf:
allow and deny must be followed by 'from'
Syntax error on line 203 of C:/xampp/apache/conf/httpd.conf:
allow and deny must be followed by 'from'
Syntax error on line 203 of C:/xampp/apache/conf/httpd.conf:
allow and deny must be followed by 'from'


Apache springt erst garnicht an.....

Bin verzweifelt und benötige Xampp eigentlich dringend....

Problem mit dem Busy ist erledigt!

Such nur noch die Möglichkeit index of/ zu bekommen, denn in dem Prdner sind mehrere Unterordner und keine index
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XAMPP 1.8 for local development/testing
Codeigniter for programming
YAML for Structure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NiAlMa
 
Posts: 50
Joined: 28. March 2008 07:22
Location: Schwabenland
Operating System: WU7x64

Re: localhost nicht erreichbar

Postby Nobbie » 15. June 2011 10:13

NiAlMa wrote:Such nur noch die Möglichkeit index of/ zu bekommen, denn in dem Prdner sind mehrere Unterordner und keine index


Im Konfigurationsblock des Projektverzeichnisse

Code: Select all
<Directory e:/projekte>
...
</Directory>


muss bei den Angaben der "Options" (da stehen meistens mehrere Werte hinter) u.a. der Wert "Indexes" stehen.

Außerdem sollte im Ordner e:/projekte weder eine Datei index.html noch eine Datei index.php stehen.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: localhost nicht erreichbar

Postby Altrea » 15. June 2011 12:28

NiAlMa wrote:
Syntax error on line 203 of C:/xampp/apache/conf/httpd.conf:
allow and deny must be followed by 'from'


Apache springt erst garnicht an.....

Das tut der Apache so, wenn du ihm einen Syntax Fehler in seine Konfiguration baust.
Was steht denn bei dir in Zeile 203 in der httpd.conf?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: localhost nicht erreichbar

Postby NiAlMa » 15. June 2011 18:00

Nobbie wrote:
NiAlMa wrote:Such nur noch die Möglichkeit index of/ zu bekommen, denn in dem Prdner sind mehrere Unterordner und keine index


Im Konfigurationsblock des Projektverzeichnisse

Code: Select all
<Directory e:/projekte>
...
</Directory>


muss bei den Angaben der "Options" (da stehen meistens mehrere Werte hinter) u.a. der Wert "Indexes" stehen.

Außerdem sollte im Ordner e:/projekte weder eine Datei index.html noch eine Datei index.php stehen.



bei mir sieht das so aus

Code: Select all
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
 #   Deny from all
    Allow from all
</Directory>


und bei

<Directory "E:/PROJEKTE">
steht
Options Indexes FollowSymLinks Includes ExecCGI


Wie müssen die Codefragmente denn aussehen, damit das mit dem index 0f / funktioniert?

@Altrea

wenn du Alles gelesen hättest, wäre dir sicherlich aufgefallen, dass DIES Problem gelöst ist
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XAMPP 1.8 for local development/testing
Codeigniter for programming
YAML for Structure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NiAlMa
 
Posts: 50
Joined: 28. March 2008 07:22
Location: Schwabenland
Operating System: WU7x64

Re: localhost nicht erreichbar

Postby Nobbie » 15. June 2011 19:55

NiAlMa wrote:Wie müssen die Codefragmente denn aussehen, damit das mit dem index 0f / funktioniert?


Welche "Codefragmente"?

NiAlMa wrote:wenn du Alles gelesen hättest, wäre dir sicherlich aufgefallen, dass DIES Problem gelöst ist


Und wenn Du endlich mal Doku lesen würdest, bräuchtest Du nicht andauernd das gleiche zu fragen (und die Antworten dennoch nicht zu verstehen).
Last edited by Nobbie on 15. June 2011 20:57, edited 1 time in total.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: localhost nicht erreichbar

Postby WilliL » 15. June 2011 20:47

NiAlMa wrote:Wie müssen die Codefragmente denn aussehen, damit das mit dem index 0f / funktioniert?

meinst du das? http://httpd.apache.org/docs/2.2/mod/core.html#options
die Seite sollte man sich bookmark'en': http://httpd.apache.org/docs/2.2/mod/directives.html

NiAlMa wrote:@Altrea
wenn du Alles gelesen hättest, wäre dir sicherlich aufgefallen, dass DIES Problem gelöst ist

PS: dann aber gut versteckt und für mich nicht eindeutig ersichtlich ...
meinst du etwa das: Problem mit dem Busy ist erledigt! :shock:
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

Re: localhost nicht erreichbar

Postby Altrea » 16. June 2011 03:48

NiAlMa wrote:@Altrea
wenn du Alles gelesen hättest, wäre dir sicherlich aufgefallen, dass DIES Problem gelöst ist


Im Gegenteil! Ich habe alles gelesen und genau diese Information war und ist noch immer nicht für mich erkennbar.
Aber vermutlich habe ich auch einfach nur keine Ahnung von dem ganzen Zeug hier 8)

Ob es taktisch klug ist einem bis dato bereitwilligen Helfer Unterstellungen an den Kopf zu werfen darfst du jetzt selbst entscheiden.
Ich habe ja nicht dein Problem. Mit all' den Informationen die hier stehen, konnte ich ohne Probleme ein Indexing auf meiner Testumgebung herstellen.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 28 guests