www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: general/1917: Virtual Host only works with first virtual host listed (fwd)
Date Fri, 06 Mar 1998 01:20:01 GMT
The following reply was made to PR general/1917; it has been noted by GNATS.

From: Marc Slemko <marcs@znep.com>
To: Apache bugs database <apbugs@apache.org>
Cc:  Subject: Re: general/1917: Virtual Host only works with first virtual host listed (fwd)
Date: Thu, 5 Mar 1998 18:08:45 -0700 (MST)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.
   Send mail to mime@docserver.cac.washington.edu for more info.
 
 ------=_NextPart_000_0009_01BD485A.5B551100
 Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1
 Content-ID: <Pine.BSF.3.95.980305180842.221I@alive.znep.com>
 
 
 
 ---------- Forwarded message ----------
 Date: Thu, 5 Mar 1998 17:15:55 -0600
 From: Trent Johnson <trent@ece.utexas.edu>
 To: marc@hyperreal.org
 Subject: Re: general/1917: Virtual Host only works with first virtual host listed
 
 here is my httpd.conf file. I am using one IP and one port. only the first
 listed virtual host works. I switched, and the new first virtual host was
 the only one to work. All requests to latter virtual hosts are sent to the
 first virtual host page.
 
 
 -----Original Message-----
 From: marc@hyperreal.org <marc@hyperreal.org>
 To: apache-bugdb@apache.org <apache-bugdb@apache.org>; marc@apache.org
 <marc@apache.org>; trent@ece.utexas.edu <trent@ece.utexas.edu>
 Date: Thursday, March 05, 1998 2:09 PM
 Subject: Re: general/1917: Virtual Host only works with first virtual host
 listed
 
 
 >Synopsis: Virtual Host only works with first virtual host listed
 >
 >State-Changed-From-To: open-closed
 >State-Changed-By: marc
 >State-Changed-When: Thu Mar  5 12:09:13 PST 1998
 >State-Changed-Why:
 >Please read the documentation at
 >
 >   http://www.apache.org/docs/vhosts/
 >
 >this is almost certainly a user configuration problem.
 >If you are sure it isn't, you need to provide exact
 >details of what you are trying to do, if you are trying
 >to use IP or name based virtual hosts, what config directives
 >you are using ,etc.
 >
 >
 
 ------=_NextPart_000_0009_01BD485A.5B551100
 Content-Type: APPLICATION/OCTET-STREAM; NAME="httpd.conf"
 Content-Transfer-Encoding: QUOTED-PRINTABLE
 Content-ID: <Pine.BSF.3.95.980305180842.221J@alive.znep.com>
 Content-Description: 
 
 # This is the main server configuration file. See URL =
 http://www.apache.org/
 # for instructions.
 
 # Do NOT simply read the instructions in here without understanding
 # what they do, if you are unsure consult the online docs. You have been
 # warned. =20
 
 # Note: Where filenames are specified, you must use forward slashes
 # instead of backslashes. e.g. "c:/apache" instead of "c:\apache". If
 # the drive letter is ommited, the drive where Apache.exe is located
 # will be assumed
 
 # Originally by Rob McCool
 
 # ServerType must be standalone.
 
 ServerType standalone
 
 # Port: The port the standalone listens to.
 
 Port 80
 
 # HostnameLookups: Log the names of clients or just their IP numbers
 #   e.g.   www.apache.org (on) or 204.62.129.132 (off)
 # The default is off because it'd be overall better for the net if =
 people
 # had to knowingly turn this feature on.
 HostnameLookups off
 
 # If you wish httpd to run as a different user or group, you must run
 # httpd as root initially and it will switch. =20
 
 # User/Group: The name (or #number) of the user/group to run httpd as.
 User nobody
 Group #-1
 
 # ServerAdmin: Your address, where problems with the server should be
 # e-mailed.
 
 ServerAdmin trent@ece.utexas.edu
 
 # ServerRoot: The directory the server's config, error, and log files
 # are kept in
 
 ServerRoot "C:/Program Files/Apache"
 
 # BindAddress: You can support virtual hosts with this option. This =
 option
 # is used to tell the server which IP address to listen to. It can =
 either
 # contain "*", an IP address, or a fully qualified Internet domain name.
 # See also the VirtualHost directive.
 
 #BindAddress *
 BindAddress *
 
 # ErrorLog: The location of the error log file. If this does not start
 # with /, ServerRoot is prepended to it.
 
 ErrorLog logs/error.log
 
 # TransferLog: The location of the transfer log file. If this does not
 # start with /, ServerRoot is prepended to it.
 
 TransferLog logs/access.log
 
 # PidFile: The file the server should log its pid to
 PidFile logs/httpd.pid
 
 # ScoreBoardFile: File used to store internal server process =
 information.
 # Not all architectures require this.  But if yours does (you'll know =
 because
 # this file is created when you run Apache) then you *must* ensure that
 # no two invocations of Apache share the same scoreboard file.
 ScoreBoardFile logs/apache_status
 
 # ServerName allows you to set a host name which is sent back to clients =
 for
 # your server if it's different than the one the program would get (i.e. =
 use
 # "www" instead of the host's real name).
 #
 # Note: You cannot just invent host names and hope they work. The name =
 you=20
 # define here must be a valid DNS name for your host. If you don't =
 understand
 # this, ask your network administrator.
 
 #ServerName new.host.name
 
 # CacheNegotiatedDocs: By default, Apache sends Pragma: no-cache with =
 each
 # document that was negotiated on the basis of content. This asks proxy
 # servers not to cache the document. Uncommenting the following line =
 disables
 # this behavior, and proxies will be allowed to cache the documents.
 
 #CacheNegotiatedDocs
 
 # Timeout: The number of seconds before receives and sends time out
 
 Timeout 300
 
 # KeepAlive: Whether or not to allow persistent connections (more than
 # one request per connection). Set to "Off" to deactivate.
 
 KeepAlive On
 
 # MaxKeepAliveRequests: The maximum number of requests to allow
 # during a persistent connection. Set to 0 to allow an unlimited amount.
 # We reccomend you leave this number high, for maximum performance.
 
 MaxKeepAliveRequests 100
 
 # KeepAliveTimeout: Number of seconds to wait for the next request
 
 KeepAliveTimeout 15
 
 # Server-pool size regulation. Apache excutes as multiple servers (this
 # allows for some fault tolerance - if a server dies, another one takes
 # its place), each of which are multithreaded and can serve multiple
 # requests.
 
 # Start up 3 servers (in case one dies, another can take its place, =
 while
 # a new one is spawned
 StartServers 3
 
 # Don't force a server to exit after it has served some number of =
 requests.
 # If you do want server's to exit after they have run for a long time =
 (to
 # help the system clean up after the process), please set this to a =
 pretty
 # large number - like 10,000. What this will do, is, each child server =
 will
 # exit after serving 10,000 requests, and another server will take its =
 place.
 MaxRequestsPerChild 0
 
 # Number of concurrent threads at a time (set the value to more or less
 # depending on the responsiveness you want and the resources you wish
 # this server to consume).
 
 ThreadsPerChild 50
 
 
 # Proxy Server directives. Uncomment the following line to
 # enable the proxy server:
 
 #ProxyRequests On
 
 # To enable the cache as well, edit and uncomment the following lines:
 
 #CacheRoot /usr/local/apache/proxy
 #CacheSize 5
 #CacheGcInterval 4
 #CacheMaxExpire 24
 #CacheLastModifiedFactor 0.1
 #CacheDefaultExpire 1
 #NoCache a_domain.com another_domain.edu joes.garage_sale.com
 
 # Listen: Allows you to bind Apache to specific IP addresses and/or
 # ports, in addition to the default. See also the VirtualHost command
 
 #Listen 3000
 #Listen 12.34.56.78:80
 
 # VirtualHost: Allows the daemon to respond to requests for more than =
 one
 # server address, if your server machine is configured to accept IP =
 packets
 # for multiple addresses. This can be accomplished with the ifconfig=20
 # alias flag, or through kernel patches like VIF.
 
 # Any httpd.conf or srm.conf directive may go into a VirtualHost =
 command.
 # See alto the BindAddress entry.
 =20
 #<VirtualHost host.some_domain.com>
 #ServerAdmin webmaster@host.some_domain.com
 #DocumentRoot /www/docs/host.some_domain.com
 #ServerName host.some_domain.com
 #ErrorLog logs/host.some_domain.com-error_log
 #TransferLog logs/host.some_domain.com-access_log
 #</VirtualHost>
 
 
 <VirtualHost www.longschlong.com>
 ServerAdmin webmaster@www.longschlong.com
 DocumentRoot "C:/Program Files/Apache/virtual/docs/www.longschlong.com"
 ServerName www.longschlong.com
 ErrorLog logs/www.longschlong.com-error.log
 TransferLog logs/www.longschlong.com-access.log
 </VirtualHost>
 
 <VirtualHost www.blinky.iguana.org>
 ServerAdmin webmaster@www.blinky.iguana.org
 DocumentRoot "C:/Program =
 Files/Apache/virtual/docs/www.blinky.iguana.org"
 ServerName www.blinky.iguana.org
 ErrorLog logs/www.blinky.iguana.org-error.log
 TransferLog logs/www.blinky.iguana.org-access.log
 </VirtualHost>
 =1A
 ------=_NextPart_000_0009_01BD485A.5B551100--

Mime
View raw message