Welcome to WebmasterWorld Guest from 54.160.187.160

Forum Moderators: bakedjake

Message Too Old, No Replies

Users Virtual Host

How to set the WWW folder

     
2:15 pm on Sep 6, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 17, 2002
posts:601
votes: 0


I got a question, I am trying to set up more than one domain on a server. I want to have the WWW folders all different. I plan on setting up a user for all 3 domains. So I will have user Joe Bob and Bill. I want in the home directory of each to have its own private WWW folder for the server. Do I just set this in the httpd?
2:37 pm on Sept 6, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


You can create three virtual host sections [httpd.apache.org] in your httpd.conf each with a different DocumentRoot directive.

[edited by: andreasfriedrich at 2:39 pm (utc) on Sep. 6, 2002]

2:38 pm on Sept 6, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 17, 2002
posts:601
votes: 0


Thank you! Thats what I thought I just thought I would check and make sure I was on the right track before spending a night trying to do it.
9:52 pm on Sept 7, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 17, 2002
posts:601
votes: 0


Ok I am confused now. Do I need to change anything in php-config to get PHP to work on my new VirtualHosts?
9:59 pm on Sept 7, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


I believe not. Im running a ssl enabled virtual server and use php without having configured anything regarding php.

Did you run into difficulties using php on your virtual server?

10:01 pm on Sept 7, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 17, 2002
posts:601
votes: 0


Yeah its printing the source instead of the page!
10:17 pm on Sept 7, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


Is it working for the main server?
10:24 pm on Sept 7, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 17, 2002
posts:601
votes: 0


You know as a matter of fact it is not. I guess I didnt break it now to get it running.