tilgang fra andre ip-er i nye xampp

1 innlegg i emnet

Skrevet

hei!

I dag installerte jeg den nye xampp pakken for windows. :D

Noe som irriterer meg er at jeg ikke kan få tilgang til phpmyadmin fra andre ip-er enn 127.0.0.1 :(

hva må jeg endre i httpd-xampp.conf for at jeg skal kunne få tilgang fra torsrex.dnsalias.org? :)

Tusen takk for svar :)

#
# XAMPP settings
#

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

#
# PHP-Module setup
#
LoadFile "F:/Program Files/xampp/php/php5ts.dll"
LoadModule php5_module modules/php5apache2_2.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 "F:/Program Files/xampp/php"
</IfModule>

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

ScriptAlias /php-cgi/ "F:/Program Files/xampp/php/"
<Directory "F:/Program Files/xampp/php">
AllowOverride None
Options None
Order deny,allow
Deny from all
<Files "php-cgi.exe">
Allow from all
</Files>
</Directory>

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

<Directory "F:/Program Files/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 "F:/Program Files/xampp/security/htdocs/"
<Directory "F:/Program Files/xampp/security/htdocs">
<IfModule php5_module>
<Files "xamppsecurity.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
AllowOverride AuthConfig
</Directory>

Alias /licenses "F:/Program Files/xampp/licenses/"
<Directory "F:/Program Files/xampp/licenses">
Options +Indexes
<IfModule autoindex_color_module>
DirectoryIndexTextColor "#000000"
DirectoryIndexBGColor "#f8e8a0"
DirectoryIndexLinkColor "#bb3902"
DirectoryIndexVLinkColor "#bb3902"
DirectoryIndexALinkColor "#bb3902"
</IfModule>
</Directory>

Alias /phpmyadmin "F:/Program Files/xampp/phpMyAdmin/"
<Directory "F:/Program Files/xampp/phpMyAdmin">
AllowOverride AuthConfig
</Directory>

Alias /webalizer "F:/Program Files/xampp/webalizer/"
<Directory "F:/Program Files/xampp/webalizer">
<IfModule php5_module>
<Files "webalizer.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
AllowOverride AuthConfig
</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/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
[/codebox]

0

Del dette innlegget


Lenke til innlegg
Del på andre sider

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!


Start en konto

Logg inn

Har du allerede en konto? Logg inn her.


Logg inn nå

  • Hvem er aktive   0 medlemmer

    Ingen innloggede medlemmer aktive