I'm trying to modify the default directory for Apache from /var/www to /var/www/public_html, and I can't find any resources specifically on how to do this. The httpd.conf and apache.conf files are empty. How would I go about this?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
In some apache builds, the default site is defined, not in the And this question over at SO should get you moving in the right direction. The answer over there offers a basic virtualhost definition as well as a couple other things necessary to configure a site defined in
|
|||
|
|
DocumentRoot- Apache HTTP Server documentation what you're looking for? – slhck♦ Aug 4 '12 at 22:27