On Thu, Aug 18, 2005 at 09:52:58PM -0700, Pedro Alvarez Jr. wrote:
> I hope I can describe what is needed succinctly:
> We are having our website redesigned.
> Part of the process was upgrading our server to a G5 running X Serve
> software which includes a webserver that uses Apache. That part is
> set up fine. When we go live slc.berkeley.edu will point to the
> right place.
> The tricky part is that the designers want a virtual host set up for both
> slc.berkeley.edu
> and
> slcdev.berkeley.edu
>
> I guess the virtual part is this:
> when a user types in slc.berkeley.edu, all the user will see in a
> browser is slc.berkeley.edu BUT
> the actual page that is returned would be
> slc.berkeley.edu/slc/general/index.htm
>
> and
>
> there is a development site for staff use. Staff would type
> slcdev.berkeley.edu and the browser would display slcdev.berkeley.edu
> BUT the actual page would be
> slcdev.berkeley.edu/slcdev/general/index.htm
>
> I've spent hours fooling around with the Web settings in Server Admin
> to no avail.
> Has anyone successfully done this using OS X Serve?
> thanks for any help
You might need to edit the httpd.conf file directly.
The syntax is:
NameVirtualHost <ip_address>:80
<VirtualHost <ip_address>:80>
ServerName slc.berkeley.edu
DocumentRoot /path/to/htdocs/slc/general
</VirtualHost>
You'll need to request slcdev.berkeley.edu as a host alias; mail
hostmaster@nic.berkeley.edu.
-- Tom Holub (tom_holub@LS.Berkeley.EDU, 510-642-9069) Director of Computing, College of Letters & Science 249 Campbell Hall <http://LS.berkeley.edu/computing/> ------------------------------------------------------------------------ The following was automatically added to this message by the list server: For information about MAGNet, its meetings and events, and its mailing list, including information on subscribing and unsubscribing, see the MAGNet Web site at <http://magnet.berkeley.edu/>.Received on Thu Aug 18 22:56:45 2005
This archive was generated by hypermail 2.1.8 : Thu Aug 18 2005 - 22:56:45 PDT