PDA

View Full Version : Edit Addon domain



engmant
02-02-2008, 03:58 AM
How do i change the document root of an addon domain?

jansuk
02-03-2008, 12:15 AM
If it's set up already, I understand that you have to remove it and start the process over with a new document root.

shadmego
02-03-2008, 12:20 AM
How do i change the document root of an addon domain?

You can try this:

http://httpd.apache.org/docs/1.3/mod/core.html#documentroot

You would have to create or modify the .htaccess for the particular addon domain you want to change the root for, but that link should point you in the right direction ...

~regards, and welcome to the Community!

engmant
02-03-2008, 02:36 PM
Great, i'll look into that.
Thanks.

r2b2
02-03-2008, 02:38 PM
That directive isn't available at an .htaccess level:

Context: server config, virtual host

The only way you'll probably be able to move the document root is contact the support guys who should be able to update the main Apache config to point to the new location.

Either that or remove and re-add as also stated above...

shadmego
02-03-2008, 02:40 PM
Thanks for the clarification, r2b2. That was what I was afraid of when I posted, but I wasn't sure and didn't have the time to research properly ... suppose I should have help off posting until I had the full answer ............

~sigh~

r2b2
02-03-2008, 02:45 PM
No worries - btw, you may want to start looking at the 2.x version of the Apache docs now that HM has upgraded... (well for a lot of sites anyway)