Bug 7513

Summary: I can not access phpmyadmin
Product: Mageia Reporter: Filipe Saraiva <mail>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: guillomovitch
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: webmin CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 6954    

Description Filipe Saraiva 2012-09-18 15:58:35 CEST
I have phpmyadmin installed but I can not access it. The message in browser when I access http://localhost/phpmyadmin/ is "Access denied per /etc/httpd/conf/sites.d/phpmyadmin.conf"

But my phpmyadmin.conf is default:

Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    ErrorDocument 403 "Access denied per /etc/httpd/conf/sites.d/phpmyadmin.conf"

    php_flag session.auto_start 0
</Directory>

<Directory /usr/share/phpmyadmin/libraries>
    Order deny,allow
    Deny from all
</Directory>

mysqld is running.
Comment 1 claire robinson 2012-09-18 17:17:12 CEST
I think this is probably down to apache 2.4. I don't think phpmyadmin has been updated with the correct apache 2.4 directives yet.

Try adding 'Require local' in the directives. It will replace Order deny,allow Deny from all allow from 127.0.0.1 but they can exist side by side at the moment.

There is a tracker bug somewhere for webapps not yet adapted for apache 2.4
claire robinson 2012-09-18 17:23:40 CEST

Blocks: (none) => 6954

Comment 2 Filipe Saraiva 2012-09-18 21:05:32 CEST
Thanks Claire, your tips worked fine.

Can I close this bug or I leave it open to future references?
Comment 3 Manuel Hiebel 2012-11-24 19:01:40 CET
it should be fixed in the package too (but this one seems 'dead' too ..)

Source RPM: (none) => webmin

Comment 4 Guillaume Rousse 2013-03-17 20:19:24 CET
Current package is OK, closing.

Status: NEW => RESOLVED
CC: (none) => guillomovitch
Resolution: (none) => FIXED