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

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

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

Postby doubleclick » 22. May 2006 18:38

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
doubleclick
 
Posts: 6
Joined: 18. September 2005 14:52

Postby doubleclick » 26. May 2006 12:45

Still here; still wondering. . .
doubleclick
 
Posts: 6
Joined: 18. September 2005 14:52

Postby ckang » 26. May 2006 17:39

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.
ckang
 
Posts: 3
Joined: 26. May 2006 17:12

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

Postby skuipers » 29. May 2006 09:53

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.
skuipers
 
Posts: 102
Joined: 21. January 2005 16:27
Location: The Netherlands

Postby doubleclick » 29. May 2006 12:41

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
doubleclick
 
Posts: 6
Joined: 18. September 2005 14:52

Postby ckang » 30. May 2006 18:41

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
ckang
 
Posts: 3
Joined: 26. May 2006 17:12


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 26 guests