Connecting Tech Pros Worldwide Help | Site Map

virtual host

 
LinkBack Thread Tools Search this Thread
  #1  
Old December 23rd, 2006, 05:42 PM
Newbie
 
Join Date: Dec 2006
Posts: 6
Default virtual host

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.
Reply
  #2  
Old December 24th, 2006, 06:16 AM
sashi's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Age: 33
Posts: 1,630
Default

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.
Reply
  #3  
Old December 25th, 2006, 10:40 AM
Newbie
 
Join Date: Dec 2006
Posts: 6
Default

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
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.