Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-20-2004, 04:52 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Exclamation Virtual hosts Help

Hi I wanted to know if this would work... Or if someone could give me help.

I'm trying to create a site that would allow different users in different directories but all on the same red hat linux box edit webpages.

the site would have 2 virtual directories like so:

PS (DOT) is in placement of .



user1 would be able to add content to the classifieds directory.
user2 would be allowed to add content to the free.

<VirtualHost *>
ServerName classifieds(DOT)domain(DOT)com
ServerAlias www(DOT)classifieds(DOT)domain(DOT)com classifieds(DOT)
ServerAdmin webmaster@domain(DOT)com
DocumentRoot /home/user1/public_html/classifieds
ScriptAlias /cgi-bin/ /home/user1/public_html/classifieds/cgi-bin/

<VirtualHost *>
ServerName free(DOT)domain(DOT)com
ServerAlias www(DOT)free(DOT)domain(DOT)com free(DOT)domain(DOT)com
ServerAdmin webmaster@domain(DOT)com
DocumentRoot /home/user2/public_html/free
ScriptAlias /cgi-bin/ /home/user2/public_html/free/cgi-bin/

so would this work? or would i need to do something different?


Old 12-21-2004, 11:27 PM   #2
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Did you google for this? Take a look at this page:

There are many sources on a first-page google or the apache documentation itself.
Old 12-22-2004, 02:47 PM   #3
LQ Newbie
Registered: Dec 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Well this is for site visitors

I'm working with ftp users for the site.... I tried googling the answers just seems this psat month google went from awesome to crappy results..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
virtual hosts, virtual ip's? kuplo Linux - Newbie 3 11-29-2005 08:44 PM
Help with Virtual Hosts? econnections Linux - Newbie 3 07-02-2005 12:39 PM
virtual hosts... Digital_Err0r Linux - Newbie 25 03-25-2004 03:58 PM
Virtual Hosts chris Linux - General 1 11-20-2001 09:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration