Page 1 of 1

No access to my dedicated server with httpd-xampp.conf

PostPosted: 28. July 2010 09:32
by cleroy61
Hello everybody,

I'm french ; I don't speak german, so i will try speaking in english

I rented a dedicated server where the installation was done automatically (debian lenny)

I then downloaded and installed Xampp 1.7.3a. and When I want to connect to IP from my dedicated server (DigiCube) http://my-address-IP/xampp/index.php
This error message appears :

Code: Select all
Accès interdit!


Nouveau concept de sécurité XAMPP:

L'accès au répertoire demandé est uniquement disponible sur le réseau local.

Ce paramètre peut être configuré dans le fichier "httpd-xampp.conf".

Translate :
Access forbidden!
New Security Concept XAMPP:
Access to the requested directory is available on the LAN.
This parameter can be configured in "httpd-xampp.conf.


I found the file and edited opt/lampp/etc/extra/httpd-xampp.conf

Code: Select all
 <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-st$
        Order deny,allow
        Deny from all
        Allow from ::1 127.0.0.0/8 \
                fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
                fe80::/10 169.254.0.0/16
               

        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>


I tried to insert eth0::95.130.12.68

I'm sure I forgot something
and when I restart my Lampp server, I've got this error message

Code: Select all
Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.


What function do I put before my IP address to ?

Thanks a lot for your help

Christophe

Re: No access to my dedicated server with httpd-xampp.conf

PostPosted: 28. July 2010 11:53
by Altrea
cleroy61 wrote:
Code: Select all
 <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-st$

This line is uncomplete!?

cleroy61 wrote:I tried to insert eth0::95.130.12.68

fc00::/7 and fe80::/10 are IPv6 definitions.
But whats eth0::? Thats completely wrong.