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

Problems with the Linux version of XAMPP, questions, comments, and anything related.

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

Postby cleroy61 » 28. July 2010 09:32

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
cleroy61
 
Posts: 8
Joined: 28. July 2010 09:01

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

Postby Altrea » 28. July 2010 11:53

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.
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: 6538
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 10 guests