Virtual hosts, development platform, Intranet and SSI

Virtual hosts, development platform, Intranet and SSI

Post by Mr. » Sat, 22 Jan 2000 04:00:00



Hi,

Firstly, I'm new here, so please direct me to a FAQ if you think I can find
the answers I need there.

I've installed Apache on my Win '98 machine and am currently using it so
that I can parse SSI commands on my local system, using it as a development
platform. This works fine at the moment with one site, but I now want to be
able to 'host' more than one development site, checking that SSI and CGI
works before uploading to the main server.

I have attempted to add the <VirtualHost></VirtualHost> lines to the
http.conf file so that I can develop more than one site at a time, but I
cannot get it to work.

I am using Apache 1.3.9 (win32)

Say there are 3 sites which are being developed, firstly, in which file
should each be placed (e.g. htdocs/site1 or htdocs/site1/site2), and
secondly, what should I place between the Virtualhost tags in the
configuration file?

Another problem is that I cannot get the sites to work over a LAN. On the
local machine, http://localhost is typed into the address line in the
browser to view the page, but what should this be on other computers on the
network, or should something be configured differently? Also, is there a
specific way Apache should be set up if it is only serving pages to the
local system?

Sorry for waffling, I'm very new to Apache and have come across these
stumbling blocks.

Jake Gordon

 
 
 

1. Apache 1.3b2: Default Host and all virtual hosts serve only first virtual hosts pages?

Hello.

Have been running 1.2b8 for a intranet and decided to move upto 1.3b2. I
have several name based virtual hosts that have been working under
1.2b8. After compiling and installing 1.3b2 my virtual hosts do not
work. In fact what happens is that even though DocumentRoot and default
server name is different, eg: www.serverA.net pointing to /www/default,
Apache 1.3b2 will always take me to the first defined virtual host as if
it's locked to it no matter what virtual host I try to browse. What
gives? Please post and E-Mail.

In /etc/hosts for my machines IP address I have

A.B.C.D         www.default.net www.virtA.net www.virtB.net

In ../conf/httpd.conf I have;

<VirtualHost www.virtA.net>

DocumentRoot /usr/local/www/virtA
ServerName www.virtA.net
ErrorLog logs/virtA.error.log
TransferLog logs/virtA.access.log
</VirtualHost>

<VirtualHost www.virtB.net>

DocumentRoot /usr/local/www/virtB
ServerName www.virtB.net
ErrorLog logs/virtB.error.log
TransferLog logs/virtB.access.log
</VirtualHost>

--

2. SparQ problem: drive or drivers?

3. Looking for Solaris based intranet development tool for dynamic database development

4. .rhosts file with HACMP

5. HELP: Apache Virtual hosts & SSI

6. Ensoniq Soundscape, Kernel Mods, and isapnp

7. Virtual Hosts and SSI's

8. Is it possible to configure xdm to start on multiple consoles?

9. FrontPage virtual hosting, removal or reset of virtual host

10. ssi and virtual host

11. SSI and Virtual Hosts

12. : How to prevent one named virtual host from "seeing" another virtual hosts files ?

13. Mixing Apache Name Based Virtual Hosts and SSL Virtual Host