Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : How do I change the location of htdocs?



Normal Mode | Print  

How do I change the location of htdocs?
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Go to AMPPS Control Center -> Apache Tab -> Configuration. Find the line
Code
DocumentRoot "{$path}/www"
and change it to
Code
DocumentRoot "path/to/xampp/htdocs"


Also find the line
Code
<Directory "{$path}/www">
and change it to
Code
<Directory "path/to/xampp/htdocs">


By doing this your xampp DocumentRoot should work in AMPPS.

OR

You can add Alias in Alias Manager.

Eg,
Alias Name : xampp
Path : C:\xampp\htdocs

Then you can visit http://localhost/xampp to access xampp's htdocs & http://localhost/xampp/xampp to access xampp panel.
Note: You will have to change its index.php in htdocs to access http://localhost/xampp as xampp panel

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   


Threads
 harkonenn   How do I change the location of htdocs? (13 Replies, Read 74463 times)
    |--  tidus   I'm testing Ampps...   on January 18, 2012, 9:19 am
    |--  do9man   I think harkonenn...   on February 28, 2012, 1:47 pm
    |--  tidus   Go to AMPPS...   on February 28, 2012, 2:27 pm
    |--  do9man   Thanks for your...   on February 28, 2012, 4:57 pm
    |--  tidus   Okay, Understood the...   on February 28, 2012, 6:47 pm
    |--  do9man   OK, thanks. Hopefully...   on February 29, 2012, 1:59 pm
    |--  harkonenn   Honestly, this is...   on February 29, 2012, 2:31 pm
    |--  rjsorto   If you haven't...   on April 22, 2012, 12:38 am
    |--  rjsorto   The only problem...   on April 22, 2012, 12:45 am
    |--  tidus   Hi, If you...   on April 22, 2012, 5:20 am
    |--  rjsorto   I didn't notice...   on April 22, 2012, 9:44 pm
    |--  tidus   Hi, Please let...   on April 23, 2012, 4:23 am
    |--  hassanbhatti   hi i tried...   on December 13, 2014, 12:13 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 26, 2024, 7:49 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.023