Welcome to WebmasterWorld Guest from 54.163.84.199

Forum Moderators: bakedjake

Users Virtual Host

How to set the WWW folder

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

10+ Year Member



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 Sep 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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 Sep 6, 2002 (gmt 0)

10+ Year Member



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 Sep 7, 2002 (gmt 0)

10+ Year Member



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 Sep 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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 Sep 7, 2002 (gmt 0)

10+ Year Member



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

WebmasterWorld Senior Member 10+ Year Member



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

10+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month