Page 1 of 1

Changed server path; now can't access phpmyadmin via browser

PostPosted: 22. May 2006 18:38
by doubleclick
I edited the opt/lampp/etc/httpd.conf file to create “/home/username/public_html/”

The public_html directory works just fine, but now I can't access phpmyadmin from the browser. Obviously something else needs to be changed somewhere, but I can't find it.

Directions please?

Thanks

PostPosted: 26. May 2006 12:45
by doubleclick
Still here; still wondering. . .

PostPosted: 26. May 2006 17:39
by ckang
I'm no expert but we have done something similar and this is what we did.

If you edited the "default document path" to the new Home path, then you can try copying the phpmyadmin folder to that new Home location.

Re: Changed server path; now can't access phpmyadmin via bro

PostPosted: 29. May 2006 09:53
by skuipers
doubleclick wrote:I edited the opt/lampp/etc/httpd.conf file to create “/home/username/public_html/”

The public_html directory works just fine, but now I can't access phpmyadmin from the browser. Obviously something else needs to be changed somewhere, but I can't find it.

I suppose you have changed DocumentRoot from "/opt/lampp/htdocs" to "/home/username/public_html/".

I have a similar situation, but a different solution. I did not change the DocumentRoot, but instead changed etc/extra/httpd-userdir.conf. My "UserDir public_html" now reads "UserDir /home/*/public_html".

This way user written applications can access the website through http://myurl/~username, while all originally by XAMPP added applications like phpmyadmin stay where they are - IMHO this will make updates easier.

PostPosted: 29. May 2006 12:41
by doubleclick
ckang - Thanks for passing on the info. I finally had a chance this weekend to try that, and it worked perfectly.

skuipers - Thanks for your info as well. Like ckang, I'm no expert either, but it seems a better idea of changing one line rather than moving a directory.

ckang got got me out of a crunch this week, and I'll be using his/her solution this week, but I'll probably switch to your solution once I get some more time.

Thanks to both of you.
Dale

PostPosted: 30. May 2006 18:41
by ckang
Glad to help out.

I like Skiupers idea on the users' home directory with the httpd-userdir.conf editing. It will make updating a lot easier.
As ironically, I just updated to the latest XAMPP 1.5.3

Charlie