TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:5361] virtual hostnames
Here's one good place to start reading up on <VirtualHost>
http://www.apache.org/docs/vhosts/index.html
Here's my single IP, name based VirtualHost setup for Apache 1.3.3-1.
The first line is definitely necessary with this version of apache. I
don't think it was with earlier versions. I am posting it because it
took me some extra reading before I found documentation on that
particular line. The documentation exists, it's just me.
A future study for me with this configuration is making the log files
available to the administrator of the respective web.
Have fun and if you see a no brainer in my simple knucklehead
configuration, please bring it to my attention.
NameVirtualHost 209.134.131.41
<VirtualHost 209.134.131.41>
ServerAdmin rtp@mi-recordz.com
DocumentRoot /home/mi-r/www/html
ScriptAlias /cgi-bin /home/mi-r/www/cgi-bin
ServerName www.mi-recordz.com
ErrorLog logs/mi-recordz.com-error_log
TransferLog logs/mi-recordz.com-access_log
#<Directory /home/mi-r/www/html>
#Script PUT /cgi-bin/put
#</Directory>
#<Directory /usr/local/put-users>
#AuthType Basic
#AuthName mi-r
#AuthUserFile /usr/local/put-users/htpasswd-putusers
#</Directory>
</VirtualHost>
<VirtualHost 209.134.131.41>
ServerAdmin rtp@mi-recordz.com
DocumentRoot /home/kronk/www/
ScriptAlias /cgi-bin /home/kronk/www/cig-bin
ServerName www.kronkass.com
ErrorLog logs/kronkass.com-error_log
TransferLog logs/kronkass.com-access_log
</VirtualHost>
ron parker
Tim Wilson wrote:
>
> Hi everybody,
>
> I was in a meeting today at school about developing our school district's
> web pages. It was a victory for free software! Our web servers will be
> running Linux/Apache.
>
> Now, we'd like to have a unique hostname for each school. For example,
> sibley.isd197.k12.mn.us and mendota.isd197.k12.mn.us. Let's say we'd like
> to host both domains from the same server. Apache will handle this of
> course, but I'd like some recommendations about what docs I should read.
> Anyone know about certain documentation that I should be sure not to miss
> reviewing?
>
> Thanks.
>
> -Tim
>
> --
> Timothy D. Wilson "A little song, a little dance,
> University of MN, chem. dept. a little seltzer down your
> wilson@chem.umn.edu pants." -Chuckles the Clown
> Phone: (612) 625-9828 as eulogized by Ted Baxter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com