You are not logged in.

#1 2014-03-27 00:42:03

Creak
Member
Registered: 2013-10-23
Posts: 89

[SOLVED] Error 404 in phpMyAdmin since update to Apache 2.4

Hi!

I had an error 404 when I was trying to access pma. I resolved my problem by creating a symbolic link like this:

/srv/http$ sudo ln -s /usr/share/webapps/phpMyAdmin/ phpmyadmin

It works now... but I don't know if it is the right solution to do this.
I haven't seen any reference to a symbolic link in the wiki, but if I just follow the wiki, I get the error 404.

How did you solve it?

Last edited by Creak (2014-03-27 01:10:19)

Offline

#2 2014-03-27 01:01:39

Tarqi
Member
From: Ixtlan
Registered: 2012-11-27
Posts: 179
Website

Re: [SOLVED] Error 404 in phpMyAdmin since update to Apache 2.4

Create an alias in httpd.conf:

Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"

However, you might need the following too:

<Directory "/usr/share/webapps/phpMyAdmin">
 AllowOverride All
 Options FollowSymlinks
 Require all granted
</Directory>

Edit: I just saw that this information is already in the wiki...

Last edited by Tarqi (2014-03-27 01:15:31)


Knowing others is wisdom, knowing yourself is enlightenment. ~Lao Tse

Offline

#3 2014-03-27 01:10:02

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: [SOLVED] Error 404 in phpMyAdmin since update to Apache 2.4

Ok I'm really sorry, I did follow the wiki article by the book, but it happens that I added a "#", in httpd.conf, at the beginning of the line that loads the httpd-phpmyadmin.conf... (facepalm)
It was probably during the merges of httpd.conf.pacnew.

But thanks Tarqi, it's your answer that made me wonder because I knew the alias was already in the phpmyadmin conf file wink

Last edited by Creak (2014-03-27 01:12:10)

Offline

Board footer

Powered by FluxBB