Access forbidden!

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

Access forbidden!

Postby hanpedro » 03. January 2012 05:05

I've got "Access forbidden!" at "myserver.com/phpmyadmin".

Access forbidden!

New XAMPP security concept:

Access to the requested object is only available from the local network.

This setting can be configured in the file "httpd-xampp.conf".

If you think this is a server error, please contact the webmaster.
Error 403
myserver.com
01/03/12 12:49:58
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1


My system is windows 7 x64 and installed xampp 1.7.7 for windows.

And the phpmyadmin part of httpd-xampp.conf is here.

Code: Select all
<IfModule alias_module>
    Alias /security "i:/_web/xampp/security/htdocs/"
    <Directory "i:/_web/xampp/security/htdocs">
        <IfModule php5_module>
          <Files "xamppsecurity.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
   </Directory>

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

    Alias /phpmyadmin "I:/apm_packages/xampp/phpMyAdmin/"
    <Directory "I:/apm_packages/xampp/phpMyAdmin">
        AllowOverride AuthConfig
    </Directory>

    Alias /webalizer "I:/apm_packages/xampp/webalizer/"
    <Directory "I:/apm_packages/xampp/webalizer">
        <IfModule php5_module>
          <Files "webalizer.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
    </Directory>
</IfModule>



Please let me know how to resolve this error.

Thanks in advance.
hanpedro
 
Posts: 134
Joined: 09. February 2005 06:03
Operating System: SCientific Linux 6.1 x86

Re: Access forbidden!

Postby JonB » 03. January 2012 18:27

Well, what 'machine' are you trying to access phpmyadmin from :?:

:shock:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Access forbidden!

Postby hanpedro » 06. January 2012 22:19

JonB/

I added some dynamic dns address to httpd-vhosts.conf, and I tried to open one of them, "myserver.com:8080/phpmyadmin".

But "localhost:8080/phpmyadmin" can be opened.
hanpedro
 
Posts: 134
Joined: 09. February 2005 06:03
Operating System: SCientific Linux 6.1 x86


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests