View previous topic :: View next topic |
Author |
Message |
b1naryc0de Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Mar 2005 Posts: 128 Location: Malaysia
|
Posted: Thu Jun 30, 2005 6:20 pm Post subject: Help with mambo and phpmyadmin[SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
msalerno Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/174712528041c87d66e1b63.gif)
Joined: 17 Dec 2002 Posts: 1338 Location: Sweating in South Florida
|
Posted: Thu Jun 30, 2005 9:15 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
b1naryc0de Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Mar 2005 Posts: 128 Location: Malaysia
|
Posted: Fri Jul 01, 2005 7:46 pm Post subject: |
|
|
tq msalerno ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|