Results 1 to 6 of 6

Thread: http://localhost/phpmyadmin/ [Access forbidden!]

  1. #1
    Join Date
    Aug 2012
    Beans
    3

    http://localhost/phpmyadmin/ [Access forbidden!]

    Hello,

    I have install ubuntu 12.04 on my dell laptop . I have also install XAMPP on it /opt/lampp

    now it works for http://localhost


    But when i try to access http://localhost/phpmyadmin then it shows like this
    Code:
    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
    
    localhost
    Apache/2.4.2 (Unix) OpenSSL/1.0.1c PHP/5.4.4
    here is my httpd-xampp.conf

    Code:
    <IfDefine PHP4>
    LoadModule php4_module        modules/libphp4.so
    </IfDefine>
    <IfDefine PHP5>
    LoadModule php5_module        modules/libphp5.so
    </IfDefine>
    # Disabled in XAMPP 1.8.0-beta2 because of current incompatibilities with Apache 2.4
    # LoadModule perl_module        modules/mod_perl.so
    
    
    Alias /phpmyadmin "/opt/lampp/phpmyadmin"
    Alias /phpsqliteadmin "/opt/lampp/phpsqliteadmin"
    
    # since XAMPP 1.4.3
    <Directory "/opt/lampp/phpmyadmin">
        AllowOverride AuthConfig Limit
        Order allow,deny
        Allow from all
    </Directory>
    
    <Directory "/opt/lampp/phpsqliteadmin">
        AllowOverride AuthConfig Limit
        Order allow,deny
        Allow from all
    </Directory>
    
    # since LAMPP 1.0RC1
    AddType application/x-httpd-php .php .php3 .php4
    
    XBitHack on
    
    # since 0.9.8 we've mod_perl
    <IfModule mod_perl.c>
            AddHandler perl-script .pl
        PerlHandler ModPerl::PerlRunPrefork
        PerlOptions +ParseHeaders
            PerlSendHeader On
    </IfModule>
    
    # demo for mod_perl responsehandler
    #PerlModule Apache::CurrentTime
    #<Location /time>
    #      SetHandler modperl
    #      PerlResponseHandler Apache::CurrentTime
    #</Location>
    
    # AcceptMutex sysvsem is default but on some systems we need this
    # thanks to jeff ort for this hint
    #AcceptMutex flock
    #LockFile /opt/lampp/logs/accept.lock
    
    # this makes mod_dbd happy - oswald, 02aug06
    # mod_dbd doesn't work in Apache 2.2.3: getting always heaps of "glibc detected *** corrupted double-linked list" on shutdown - oswald, 10sep06
    #DBDriver sqlite3
    
    #
    # New XAMPP security concept
    #
    <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
        Order deny,allow
            #Deny from all
            Allow from all    
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    </LocationMatch>
    Please help me ..

    Thanks for advance..

  2. #2
    Join Date
    Aug 2012
    Beans
    3

    Re: http://localhost/phpmyadmin/ [Access forbidden!]

    Hello,

    please can cay one help me

  3. #3
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: http://localhost/phpmyadmin/ [Access forbidden!]

    I guess that the following line is somewhat incorrect:

    <LocationMatch "^/(?i?ampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
    did you try:

    Code:
    http://127.0.0.1/phpmyadmin
    ?
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

  4. #4
    Join Date
    Aug 2012
    Beans
    3

    Smile Re: http://localhost/phpmyadmin/ [Access forbidden!]

    I got the solution

    first use this http://daksh21ubuntu.blogspot.co.uk/...roblem-in.html

    then

    Code:
    rasel@rasel-Dell:~$ sudo -s
    rasel@rasel-Dell:~$ type your password
    root@rasel-Dell:/# cd /opt/lampp/phpmyadmin
    root@rasel-Dell:/opt/lampp/phpmyadmin# chmod 644 config.inc.php
    root@rasel-Dell:/opt/lampp/phpmyadmin# cd /
    root@rasel-Dell: /opt/lampp/lampp restart
    
    
    Thats all its works for me

  5. #5
    Join Date
    Jul 2012
    Beans
    9

    Re: http://localhost/phpmyadmin/ [Access forbidden!]

    hey buddy go through this link and if not solve then tell me . . .

    http://daksh21ubuntu.blogspot.in/201...roblem-in.html

  6. #6
    Join Date
    Jul 2011
    Location
    South-Africa
    Beans
    678
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: http://localhost/phpmyadmin/ [Access forbidden!]

    Hay,

    hate to point out the obvious.. But have you tried https instead of just http?

    I know for webmin https is a MUST..

    Good luck
    Switched away from windows XP to Ubuntu 9.04. Never turned around to look back.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •