Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with mambo and phpmyadmin[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
b1naryc0de
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2005
Posts: 128
Location: Malaysia

PostPosted: Thu Jun 30, 2005 6:20 pm    Post subject: Help with mambo and phpmyadmin[SOLVED] Reply with quote

Hi.. I have installed apache2, mysql, phpmyadmin and mambo.. all of it works..

I use the default document root:
/var/www/localhost/htdocs

my phpmyadmin is located in:
/var/www/localhost/htdocs/phpmyadmin or http://localhost/phpmyadmin

my mambo is located in:
/var/www/localhost/htdocs/mambo pr http://localhost/mambo

my problem is how to make let say i type localhost and php file in mambo loaded instead by typing localhost/mambo.. if i change the documentroot in apache2.conf i will have problem to access phpmyadmin..

so how to make /var/www/localhost/htdocs/mambo as a document root and at the same time i can access phpmyadmin by typing /localhost/phpmyadmin?


Last edited by b1naryc0de on Fri Jul 01, 2005 7:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
msalerno
Veteran
Veteran


Joined: 17 Dec 2002
Posts: 1338
Location: Sweating in South Florida

PostPosted: Thu Jun 30, 2005 9:15 pm    Post subject: Reply with quote

You could:

1. Change the document root in apache to be /var/www/localhost/htdocs/mambo
2. Create an alias:

Alias /phpmyadmin/ "/var/www/localhost/htdocs/phpmyadmin"


http://httpd.apache.org/docs-2.0/mod/mod_alias.html
Back to top
View user's profile Send private message
b1naryc0de
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2005
Posts: 128
Location: Malaysia

PostPosted: Fri Jul 01, 2005 7:46 pm    Post subject: Reply with quote

tq msalerno :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum