Change my root directory to something else

MichealMob

New member
Joined
Aug 13, 2007
Messages
1
Hi,

My default web directory is:
/home/admin/domains/example.com/public_html but I want to change it to something else, for example:
/home/admin/domains/example.com/public_html/myproject/web

Please help
thanks,

Micheal
 
If yours is the only site on the server, you can probably do this by changing the proper template for creating your domain's httpd.conf file. But you'd have to change the template, and not the file itself, or it would get changed back.

If your is NOT the only site on the server and you want to do this for your site only, you can probably still do it by changing the template; a good knowledge of httpd.conf would be required. You'd need conditional statements in the right httpd.conf template.

Jeff
 
Back
Top