Connecting Tech Pros Worldwide Help | Site Map

virtual host

  #1  
Old December 23rd, 2006, 06:42 PM
Newbie
 
Join Date: Dec 2006
Posts: 6
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.
  #2  
Old December 24th, 2006, 07:16 AM
sashi's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Apache Virtual Host somaskarthic answers 2 December 26th, 2006 08:19 PM
virtual Host Configuration somaskarthic answers 2 December 26th, 2006 08:11 PM
PHP enabled per virtual host Wayne answers 0 September 27th, 2006 12:35 PM
Virtual Host not working nilesh_raul answers 5 August 5th, 2006 04:26 PM
Stop PHP for Virtual Host block Angelo Fraietta answers 2 March 6th, 2006 09:35 PM