httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Really basic question.
Date Tue, 08 Apr 2003 12:31:31 GMT
That should work perfectly!

>-----Original Message-----
>From: Peters, Michael D. [mailto:Michael.Peters@acbl.net]
>Sent: Dienstag, 8. April 2003 14:24
>To: 'users@httpd.apache.org'
>Subject: RE: [users@httpd] Really basic question.
>
>
>Is this a good example of what you are referring to? Let's say 
>that website
>1 uses startmeup.html as it's home page and website 2 uses 
>welcome.htm as
>it's first page. In my /usr/local/apache2/conf/httpd.conf file 
>I have the
>following:
>
>DirectoryIndex startmeup.html welcome.htm blabla.html
>
><VirtualHost 192.168.200.100>
>ServerAdmin webmaster@host.domain.com
>DocumentRoot /opt/portalroot/website1
>ServerName host.domain.com
>ErrorLog logs/host.domain.com-error_log
>TransferLog logs/host.domain.com-access_log
></VirtualHost>
>
><VirtualHost 192.168.200.200>
>ServerAdmin webmaster@host.domain.com
>DocumentRoot /opt/portalroot/website2
>ServerName host.domain2.com
>ErrorLog logs/host.domain2.com-error_log
>TransferLog logs/host.domain2.com-access_log
></VirtualHost>
>
>Best regards,
>
>Michael D. Peters 
>
>
>
>-----Original Message-----
>From: Boyle Owen [mailto:Owen.Boyle@swx.com]
>Sent: Monday, April 07, 2003 9:46 AM
>To: users@httpd.apache.org
>Subject: RE: [users@httpd] Really basic question.
>
>
>>-----Original Message-----
>>From: Peters, Michael D. [mailto:Michael.Peters@acbl.net]
>>Sent: Montag, 7. April 2003 15:36
>>To: 'users@httpd.apache.org'
>>Subject: [users@httpd] Really basic question.
>>
>>
>>I am setting up many sites on a single server. I have several 
>>different IP
>>addresses associated with the independent sites. My question 
>>is how do I
>>define the "Default" web page for each site I define?
>
>Apache starts by looking in the directory defined by "DocumentRoot". It
>looks for the first file which matches one off the list defined by
>"DirectoryIndex". If this directive is not set, it looks for
>"index.html" by default.
>
>If no such files exist, and you do NOT have "Options -Indexes" for the
>directory, apache will list the directory contents.
>
>Rgds,
>Owen Boyle
>Disclaimer: Any disclaimer attached to this message may be ignored. 
>
>>
>>Best regards,
>>
>>Michael
>>
>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP 
>>Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>This message is for the named person's use only. It may contain
>confidential, proprietary or legally privileged information. No
>confidentiality or privilege is waived or lost by any mistransmission.
>If you receive this message in error, please notify the sender urgently
>and then immediately delete the message and any copies of it from your
>system. Please also immediately destroy any hardcopies of the message.
>You must not, directly or indirectly, use, disclose, distribute, print,
>or copy any part of this message if you are not the intended recipient.
>The sender's company reserves the right to monitor all e-mail
>communications through their networks. Any views expressed in this
>message are those of the individual sender, except where the message
>states otherwise and the sender is authorised to state them to be the
>views of the sender's company. 
>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message