I have downloaded and installed XAMPP 1.8.1 for Windows on Windows 7
Ultimate. I have set up XAMPP to run together with IIS as per these instructions
All good so far, my PHP sites run locally and everything except phpMyAdmin is available from the XAMPP menu.
However when I try to access phpMyAdmin I get this error:
Here is my httpd-xampp.conf file:
All good so far, my PHP sites run locally and everything except phpMyAdmin is available from the XAMPP menu.
However when I try to access phpMyAdmin I get this error:
Access forbidden!I've found several answers via Google and some on this site. However, so far, none of the solutions I've tried have resolved the issue.
New XAMPP security concept:
Access to the requested directory is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".
Here is my httpd-xampp.conf file:
ini scripnya
sumber :
http://stackoverflow.com/questions/21161908/new-xampp-security-concept-access-forbidden-error-403-windows-7-phpmyadmin
# # XAMPP settings #
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" # # PHP-Module setup # LoadFile "C:/xampp/php/php5ts.dll" LoadModule php5_module "C:/xampp/php/php5apache2_4.dll"SetHandler application/x-httpd-php SetHandler application/x-httpd-php-source # # PHP-CGI setup # ## SetHandler application/x-httpd-php-cgi # ## Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe" # PHPINIDir "C:/xampp/php" AddType text/html .php .phps ScriptAlias /php-cgi/ "C:/xampp/php/"AllowOverride None Options None Require all denied Require all granted SetHandler cgi-script SetHandler None AllowOverride AuthConfig php_admin_flag safe_mode off Alias /security "C:/xampp/security/htdocs/" # # New XAMPP security concept #Alias /licenses "C:/xampp/licenses/" AllowOverride AuthConfig Require all granted php_admin_flag safe_mode off Options +Indexes Alias /phpmyadmin "C:/xampp/phpMyAdmin/"DirectoryIndexTextColor "#000000" DirectoryIndexBGColor "#f8e8a0" DirectoryIndexLinkColor "#bb3902" DirectoryIndexVLinkColor "#bb3902" DirectoryIndexALinkColor "#bb3902" Require all grantedAllowOverride AuthConfig Limit Order allow,deny Allow from all Require all granted Alias /webalizer "C:/xampp/webalizer/"AllowOverride AuthConfig Require all granted php_admin_flag safe_mode off Order deny,allow Allow from all Require all granted ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
Tidak ada komentar:
Posting Komentar