homepage Welcome to WebmasterWorld Guest from 54.163.72.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Users Virtual Host
How to set the WWW folder
Knowles




msg:909854
 2:15 pm on Sep 6, 2002 (gmt 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?

 

andreasfriedrich




msg:909855
 2:37 pm on Sep 6, 2002 (gmt 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]

Knowles




msg:909856
 2:38 pm on Sep 6, 2002 (gmt 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.

Knowles




msg:909857
 9:52 pm on Sep 7, 2002 (gmt 0)

Ok I am confused now. Do I need to change anything in php-config to get PHP to work on my new VirtualHosts?

andreasfriedrich




msg:909858
 9:59 pm on Sep 7, 2002 (gmt 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?

Knowles




msg:909859
 10:01 pm on Sep 7, 2002 (gmt 0)

Yeah its printing the source instead of the page!

andreasfriedrich




msg:909860
 10:17 pm on Sep 7, 2002 (gmt 0)

Is it working for the main server?

Knowles




msg:909861
 10:24 pm on Sep 7, 2002 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved