Connecting Tech Pros Worldwide Forums | Help | Site Map

virtual host

Newbie
 
Join Date: Dec 2006
Posts: 6
#1: Dec 23 '06
virtual host points to
/home/usera/public_html

webalizer reports are in
/home/usera/web

now my ultimate question, how do i access ./web ?

is there a way you can define that directory what is out of the home dir in the htppd.conf, or should i move that directory inside (public_html) but then is everyone can access it :(

any sugestion are welcome.

sashi's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630
#2: Dec 24 '06

re: virtual host


Quote:

Originally Posted by mmoor

virtual host points to
/home/usera/public_html

webalizer reports are in
/home/usera/web

now my ultimate question, how do i access ./web ?

is there a way you can define that directory what is out of the home dir in the htppd.conf, or should i move that directory inside (public_html) but then is everyone can access it :(

any sugestion are welcome.

It's always better to have <web> directory outside of the <public_html>, you need to specify the value for <DocumentRoot> in the httpd.conf, hope it helps. Good luck & Take care.
Newbie
 
Join Date: Dec 2006
Posts: 6
#3: Dec 25 '06

re: virtual host


hmmm..
But then its the same as it would be now

now: /home/usera/public_html

webalizer: /home/usera/usage

so if i move public_html into /usage
its same as when i move usage into public_html.

or do i dont catch up here ?
Reply