XAMPP übers Netzwerk

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

XAMPP übers Netzwerk

Postby corax2208 » 17. September 2012 12:11

Hi,

i tried to access to my xampp server via intranet. i tried to add my local ip adress in 'http-xampp.conf' near <LocationMatch "^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))">. I changed Allow from ::1 127.0.0.0/8 to Allow from ::1 127.0.0.0/8 192.168.0.0/8 \ now the server wouldnt start anymore. what went wrong?



Hi,

ich versuche meinen XAMPP-Server über das Heimnetzwerk zu erreichen und habe in der 'http-xampp.conf' Config folgende Änderungen vorgenommen:
Code: Select all
#
# New XAMPP security concept
#

# Close XAMPP security section here
<LocationMatch "^/(?i:(?:security))">
    Order deny,allow
    Deny from all
   Allow from ::1 127.0.0.0/8
    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>

# Close XAMPP sites here
<LocationMatch "^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Deny from all
    Allow from ::1 127.0.0.0/8
    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>


wird zu

Code: Select all
#
# New XAMPP security concept
#

# Close XAMPP security section here
<LocationMatch "^/(?i:(?:security))">
    Order deny,allow
    Deny from all
   Allow from ::1 127.0.0.0/8
    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>

# Close XAMPP sites here
<LocationMatch "^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Deny from all
    >>>>>>>>>>>>>>>>>>>>>> Allow from ::1 127.0.0.0/8 192.168.0.0/8 \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>


nun startet mein Apache Server nicht mehr. Was habe ich falsch gemacht?


THX!

P.S.: Ziel ist es meinen Heimrechner für das Sicherheitskonzept freizuschalten.
My objective is to access to my xampp server (192.168. via my desktop pc (192.168.178.7)
corax2208
 
Posts: 2
Joined: 17. September 2012 12:04
Operating System: Windows 7 Ultimate

Re: XAMPP übers Netzwerk

Postby Altrea » 17. September 2012 16:46

Hallo corax2208,

Was beinhaltet denn dein \xampp\apache\logs\error.log?

mit freundlichen Grüßen,
Altrea
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: XAMPP übers Netzwerk

Postby corax2208 » 17. September 2012 20:30

Code: Select all
[Mon Sep 17 12:01:16 2012] [error] [client 192.168.178.34] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Sep 17 12:02:37 2012] [error] [client 192.168.178.34] client denied by server configuration: C:/xampp/htdocs/xampp/
[Mon Sep 17 12:24:28 2012] [error] [client 192.168.178.34] client denied by server configuration: C:/xampp/htdocs/xampp/php
[Mon Sep 17 12:28:12 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Sep 17 12:28:12 2012] [notice] Child 3436: Exit event signaled. Child process is ending.
[Mon Sep 17 12:28:13 2012] [notice] Child 3436: Released the start mutex
[Mon Sep 17 12:28:14 2012] [notice] Child 3436: All worker threads have exited.
[Mon Sep 17 12:28:14 2012] [notice] Child 3436: Child process is exiting
[Mon Sep 17 12:28:14 2012] [notice] Parent: Child process exited successfully.
[Mon Sep 17 12:30:22 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 17 12:30:22 2012] [notice] Digest: done
[Mon Sep 17 12:30:23 2012] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Sep 17 12:30:23 2012] [notice] Server built: Sep 10 2011 11:34:11
[Mon Sep 17 12:30:23 2012] [notice] Parent: Created child process 6008
[Mon Sep 17 12:30:24 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 17 12:30:24 2012] [notice] Digest: done
[Mon Sep 17 12:30:25 2012] [notice] Child 6008: Child process is running
[Mon Sep 17 12:30:25 2012] [notice] Child 6008: Acquired the start mutex.
[Mon Sep 17 12:30:25 2012] [notice] Child 6008: Starting 150 worker threads.
[Mon Sep 17 12:30:25 2012] [notice] Child 6008: Starting thread to listen on port 443.
[Mon Sep 17 12:30:25 2012] [notice] Child 6008: Starting thread to listen on port 443.
[Mon Sep 17 12:30:25 2012] [notice] Child 6008: Starting thread to listen on port 80.
[Mon Sep 17 12:30:25 2012] [notice] Child 6008: Starting thread to listen on port 80.
[Mon Sep 17 12:30:27 2012] [error] [client ::1] File does not exist: C:/xampp/htdocs/php/xampp
[Mon Sep 17 12:30:33 2012] [error] [client ::1] File does not exist: C:/xampp/htdocs/php/xampp
[Mon Sep 17 12:35:34 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Sep 17 12:35:34 2012] [notice] Child 6008: Exit event signaled. Child process is ending.
[Mon Sep 17 12:35:35 2012] [notice] Child 6008: Released the start mutex
[Mon Sep 17 12:35:36 2012] [notice] Child 6008: All worker threads have exited.
[Mon Sep 17 12:35:36 2012] [notice] Child 6008: Child process is exiting
[Mon Sep 17 12:35:36 2012] [notice] Parent: Child process exited successfully.
[Mon Sep 17 12:43:46 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 17 12:43:46 2012] [notice] Digest: done
[Mon Sep 17 12:43:47 2012] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Sep 17 12:43:47 2012] [notice] Server built: Sep 10 2011 11:34:11
[Mon Sep 17 12:43:47 2012] [notice] Parent: Created child process 4504
[Mon Sep 17 12:43:48 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 17 12:43:48 2012] [notice] Digest: done
[Mon Sep 17 12:43:48 2012] [notice] Child 4504: Child process is running
[Mon Sep 17 12:43:48 2012] [notice] Child 4504: Acquired the start mutex.
[Mon Sep 17 12:43:48 2012] [notice] Child 4504: Starting 150 worker threads.
[Mon Sep 17 12:43:48 2012] [notice] Child 4504: Starting thread to listen on port 443.
[Mon Sep 17 12:43:48 2012] [notice] Child 4504: Starting thread to listen on port 443.
[Mon Sep 17 12:43:48 2012] [notice] Child 4504: Starting thread to listen on port 80.
[Mon Sep 17 12:43:48 2012] [notice] Child 4504: Starting thread to listen on port 80.
[Mon Sep 17 12:48:26 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Sep 17 12:48:26 2012] [notice] Child 4504: Exit event signaled. Child process is ending.
[Mon Sep 17 12:48:27 2012] [notice] Child 4504: Released the start mutex
[Mon Sep 17 12:48:28 2012] [notice] Child 4504: All worker threads have exited.
[Mon Sep 17 12:48:28 2012] [notice] Child 4504: Child process is exiting
[Mon Sep 17 12:48:28 2012] [notice] Parent: Child process exited successfully.
[Mon Sep 17 12:49:06 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 17 12:49:06 2012] [notice] Digest: done
[Mon Sep 17 12:49:07 2012] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Sep 17 12:49:07 2012] [notice] Server built: Sep 10 2011 11:34:11
[Mon Sep 17 12:49:07 2012] [notice] Parent: Created child process 6560
[Mon Sep 17 12:49:07 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 17 12:49:07 2012] [notice] Digest: done
[Mon Sep 17 12:49:08 2012] [notice] Child 6560: Child process is running
[Mon Sep 17 12:49:08 2012] [notice] Child 6560: Acquired the start mutex.
[Mon Sep 17 12:49:08 2012] [notice] Child 6560: Starting 150 worker threads.
[Mon Sep 17 12:49:08 2012] [notice] Child 6560: Starting thread to listen on port 443.
[Mon Sep 17 12:49:08 2012] [notice] Child 6560: Starting thread to listen on port 443.
[Mon Sep 17 12:49:08 2012] [notice] Child 6560: Starting thread to listen on port 80.
[Mon Sep 17 12:49:08 2012] [notice] Child 6560: Starting thread to listen on port 80.
[Mon Sep 17 12:49:36 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Sep 17 12:49:36 2012] [notice] Child 6560: Exit event signaled. Child process is ending.
[Mon Sep 17 12:49:37 2012] [notice] Child 6560: Released the start mutex
[Mon Sep 17 12:49:38 2012] [notice] Child 6560: All worker threads have exited.
[Mon Sep 17 12:49:38 2012] [notice] Child 6560: Child process is exiting
[Mon Sep 17 12:49:38 2012] [notice] Parent: Child process exited successfully.
[Mon Sep 17 12:51:36 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 17 12:51:36 2012] [notice] Digest: done
[Mon Sep 17 12:51:36 2012] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Sep 17 12:51:36 2012] [notice] Server built: Sep 10 2011 11:34:11
[Mon Sep 17 12:51:36 2012] [notice] Parent: Created child process 6984
[Mon Sep 17 12:51:37 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 17 12:51:37 2012] [notice] Digest: done
[Mon Sep 17 12:51:38 2012] [notice] Child 6984: Child process is running
[Mon Sep 17 12:51:38 2012] [notice] Child 6984: Acquired the start mutex.
[Mon Sep 17 12:51:38 2012] [notice] Child 6984: Starting 150 worker threads.
[Mon Sep 17 12:51:38 2012] [notice] Child 6984: Starting thread to listen on port 443.
[Mon Sep 17 12:51:38 2012] [notice] Child 6984: Starting thread to listen on port 443.
[Mon Sep 17 12:51:38 2012] [notice] Child 6984: Starting thread to listen on port 80.
[Mon Sep 17 12:51:38 2012] [notice] Child 6984: Starting thread to listen on port 80.
Adding password for user root
corax2208
 
Posts: 2
Joined: 17. September 2012 12:04
Operating System: Windows 7 Ultimate

Re: XAMPP übers Netzwerk

Postby Altrea » 18. September 2012 02:00

Sofern das am 17. September um 12:51:38 Uhr der letzte Startversuch war, sieht doch alles gut aus.
Du kannst natürlich die Konfiguration auch überprüfen:
  • öffne eine Windows Eingabeaufforderung
  • navigiere mit dem cd-Kommando bis ins \xampp\apache\bin\ verzeichnis
  • führe httpd.exe -t -e debug aus
Danach werden alle Meldungen die mit dem Startverhalten von Apache zusammenhängen ausgegeben
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 44 guests