Frage MYSQL Externer zugriff

  • Hey ich habe einen Vserver mit Xampp und die mysqldb und alles ist eingerichtet und ich kann auf dem vserver localhost/phpmyadmin machen aber nicht auf meinem pc die IP und dann /phpadmin, denn dann steht da:

    Spoiler anzeigen


    Zugriff verweigert!

    Neues XAMPP Sicherheitskonzept:
    Der Zugriff auf das angeforderte Objekt ist nur aus dem lokalen Netzwerk möglich.
    Diese Einstellung kann in der Datei "httpd-xampp.conf" angepasst werden.

    Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.
    Error 403
    *Zensiert*
    Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7</address>
    </address>
    </address>


    Und in der datei"httpd-xampp.conf" steht;

    Spoiler anzeigen


    #
    # XAMPP settings
    #

    <IfModule env_module>
    SetEnv MIBDIRS "C:/xampp/php/extras/mibs"
    SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
    SetEnv PHPRC "\\xampp\\php"
    SetEnv TMP "\\xampp\\tmp"
    </IfModule>

    #
    # PHP-Module setup
    #
    LoadFile "C:/xampp/php/php5ts.dll"
    LoadModule php5_module "C:/xampp/php/php5apache2_4.dll"

    <FilesMatch "\.php$">
    SetHandler application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
    </FilesMatch>

    #
    # PHP-CGI setup
    #
    #<FilesMatch "\.php$">
    # SetHandler application/x-httpd-php-cgi
    #</FilesMatch>
    #<IfModule actions_module>
    # Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
    #</IfModule>


    <IfModule php5_module>
    PHPINIDir "C:/xampp/php"
    </IfModule>

    <IfModule mime_module>
    AddType text/html .php .phps
    </IfModule>

    ScriptAlias /php-cgi/ "C:/xampp/php/"
    <Directory "C:/xampp/php">
    AllowOverride None
    Options None
    Require all denied
    <Files "php-cgi.exe">
    Require all granted
    </Files>
    </Directory>

    <Directory "C:/xampp/cgi-bin">
    <FilesMatch "\.php$">
    SetHandler cgi-script
    </FilesMatch>
    <FilesMatch "\.phps$">
    SetHandler None
    </FilesMatch>
    </Directory>

    <Directory "C:/xampp/htdocs/xampp">
    <IfModule php5_module>
    <Files "status.php">
    php_admin_flag safe_mode off
    </Files>
    </IfModule>
    AllowOverride AuthConfig
    </Directory>

    <IfModule alias_module>
    Alias /security "C:/xampp/security/htdocs/"
    <Directory "C:/xampp/security/htdocs">
    <IfModule php5_module>
    <Files "xamppsecurity.php">
    php_admin_flag safe_mode off
    </Files>
    </IfModule>
    AllowOverride AuthConfig
    Require all granted
    </Directory>

    Alias /licenses "C:/xampp/licenses/"
    <Directory "C:/xampp/licenses">
    Options +Indexes
    <IfModule autoindex_color_module>
    DirectoryIndexTextColor "#000000"
    DirectoryIndexBGColor "#f8e8a0"
    DirectoryIndexLinkColor "#bb3902"
    DirectoryIndexVLinkColor "#bb3902"
    DirectoryIndexALinkColor "#bb3902"
    </IfModule>
    Require all granted
    </Directory>

    Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    <Directory "C:/xampp/phpMyAdmin">
    AllowOverride AuthConfig
    Require all granted
    </Directory>

    Alias /webalizer "C:/xampp/webalizer/"
    <Directory "C:/xampp/webalizer">
    <IfModule php5_module>
    <Files "webalizer.php">
    php_admin_flag safe_mode off
    </Files>
    </IfModule>
    AllowOverride AuthConfig
    Require all granted
    </Directory>
    </IfModule>

    #
    # New XAMPP security concept
    #
    <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
    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>

    Also wie kann ich vom PC zugreifen ? ;D Danke *thumbsup* 

    // Scripter // LXC Leader // Mapper// Youtuber //


    Neues Projekt startet am 20. Februar. [Searching Donators]

  • Dieses Thema enthält einen weiteren Beitrag, der nur für registrierte Benutzer sichtbar ist, bitte registrieren Sie sich oder melden Sie sich an um diesen lesen zu können.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!