[cfaussie] Re: OT: apache error - why not several hosts?

2006-04-24 Thread Charlie Arehart

Well, just to be clear, when you say you have 42 sites running under the
root, you still have only 1 web site in IIS, right? And your need was to
create a new web site with its own docroot other than the one that all the
others are under, right? 

That's specifically what this IISAdmin tool does (not to be confused with
the IIS admin tool within Control Panel's Administrative Tools). IISAdmin is
a 3rd party (free) tool that lets you create multiple IIS web sites (beyond
the one default web site). 

I'm sorry, Mike, if I'm the one being thick but I just can't tell if you got
that this is what I'm referring to. If it wasn't clear from my first note,
perhaps now a review of it will make more sense. :-) 

/charlie

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Mike Kear
Sent: Monday, April 24, 2006 7:39 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: OT: apache error - why not several hosts?


Quite so, Charlie.  In fact I've been running with IIS quite happily for
years now, in the current IIIS5.1 on WInXPPro and its
predecessors.   I currently have 42 sites on my dev machine at various
states of development.

What's prompted this change is the increasing tendency of things like
frameworks to require placement at the root of the site.  
Specifically, the marvellous Reactor, (which dynamcally builds all the
queries, DAO CFCs etc without requiring me to write any SQL at all!!) has to
be placed at the root of the site, and if you have mappings pointing to the
root you get all kinds of problems making it work.

In short, I needed all my sites to each have their own site root rather than
being one level below the root with a mapping to enable includes etc.

As you say Charlie, there are more ways than one to achieve this and I have
no issue with IIS - it drives all of my production sites.

Cheers
Mike Kear


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: OT: apache error - why not several hosts?

2006-04-23 Thread Tom MacKean
In the line, NameVirtualHost * try deleting the :80

Tom
On 4/24/06, Mike Kear [EMAIL PROTECTED] wrote:
I'm working on setting my system up using Apache instead of IIS, and Ihave the web server working,I have worked through the excellent
article at http://johnbokma.com/windows/apache-virtual-hosts-xp.htmlwhich explains how to do it in the simplest, clearest terms I'veencountered before.
However I've missed something somewhere because I'm still not gettingmultiple virtual sites appearing. Have i got something wrong here ormissed something? Because using any of these urlstakes me to the
same place - the root of the first one.Can anyone see what's wrong here?Here's my hosts file relating to this area:127.0.0.1 localhost
127.0.0.1 dev.afpwebworks.com # my company site127.0.0.1 dev.bluegrass.org.au# my bluegrass site
127.0.0.1 dev.intranet# intranet - admin appsI've included a virtual-hosts.txt file with the virtual hosts listed,and restarted apache after every change to any of these files.
Here's whats in the virtual-hosts.txt file:## Use name-based virtual hosting.NameVirtualHost *:80VirtualHost * ServerName dev.intranet DocumentRoot C:/sites/Mysites/intranet.com/site/web
 ErrorLog C:/sites/Mysites/intranet.com/local-logs/error.log CustomLog C:/sites/Mysites/intranet.com/local-logs/access.log combined/VirtualHostVirtualHost *
 ServerName dev.afpwebworks.com DocumentRoot C:/sites/Mysites/afpwebworks.com/site/web ErrorLog C:/sites/Mysites/afpwebworks.com/local-logs/error.log
 CustomLog C:/sites/Mysites/afpwebworks.com/local-logs/access.log combined/VirtualHostVirtualHost * ServerName dev.bluegrass.org.au
 DocumentRoot C:/sites/Mysites/bluegrass.org.au/site/web ErrorLog C:/sites/Mysites/bluegrass.org.au/local-logs/error.log CustomLog C:/sites/Mysites/bluegrass.org.au/local-logs/access.log combined
/VirtualHost--CheersMike KearWindsor, NSW, AustraliaCertified Advanced ColdFusion DeveloperAFP Webworkshttp://afpwebworks.comColdFusion, PHP, ASP, 
ASP.NET hosting from AUD$15/month-- IMPORTANT: This email is intended for the use of the individual addressee(s) named above and may contain information that is confidential privileged or unsuitable for overly sensitive persons with low self-esteem, no sense of humor or irrational religious beliefs. If you are not the intended recipient, any dissemination, distribution or copying of this email is not authorized (either explicitly or implicitly) and constitutes an irritating social fauxpas. No animals were harmed in the transmission of this email, although the mutt next door is living on borrowed time, let me tell you. 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups cfaussie group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---


[cfaussie] Re: OT: apache error - why not several hosts?

2006-04-23 Thread Lindsay Evans
Hi Mike,Try doing it like this:

NameVirtualHost dev.intranet:80
VirtualHost dev.intranet:80
  ServerName dev.intranet

 ...

/VirtualHost

NameVirtualHost dev.afpwebworks.com:80
VirtualHost dev.afpwebworks.com:80
  ServerName dev.afpwebworks.com

 ...

/VirtualHost

NameVirtualHost dev.bluegrass.org.au:80
VirtualHost dev.bluegrass.org.au:80
  ServerName dev.bluegrass.org.au

 ...

/VirtualHostThat's how I'm doing it on my dev machine  its working fine (I'm using a DNS server instead of the hosts file, but it shouldn't make any difference)
On 4/24/06, Mike Kear [EMAIL PROTECTED] wrote:
I'm working on setting my system up using Apache instead of IIS, and Ihave the web server working,I have worked through the excellentarticle at 
http://johnbokma.com/windows/apache-virtual-hosts-xp.htmlwhich explains how to do it in the simplest, clearest terms I'veencountered before.However I've missed something somewhere because I'm still not getting
multiple virtual sites appearing. Have i got something wrong here ormissed something? Because using any of these urlstakes me to thesame place - the root of the first one.Can anyone see what's wrong here?
Here's my hosts file relating to this area:127.0.0.1 localhost127.0.0.1 dev.afpwebworks.com # my company site
127.0.0.1 dev.bluegrass.org.au# my bluegrass site127.0.0.1 dev.intranet# intranet - admin apps
I've included a virtual-hosts.txt file with the virtual hosts listed,and restarted apache after every change to any of these files.Here's whats in the virtual-hosts.txt file:## Use name-based virtual hosting.
NameVirtualHost *:80VirtualHost *ServerName dev.intranetDocumentRoot C:/sites/Mysites/intranet.com/site/webErrorLog C:/sites/Mysites/intranet.com/local-logs/error.log
CustomLog C:/sites/Mysites/intranet.com/local-logs/access.log combined/VirtualHostVirtualHost *ServerName dev.afpwebworks.com
DocumentRoot C:/sites/Mysites/afpwebworks.com/site/webErrorLog C:/sites/Mysites/afpwebworks.com/local-logs/error.logCustomLog C:/sites/Mysites/afpwebworks.com/local-logs/access.log combined
/VirtualHostVirtualHost *ServerName dev.bluegrass.org.auDocumentRoot C:/sites/Mysites/bluegrass.org.au/site/webErrorLog C:/sites/Mysites/bluegrass.org.au/local-logs/error.log
CustomLog C:/sites/Mysites/bluegrass.org.au/local-logs/access.log combined /VirtualHost--CheersMike KearWindsor, NSW, AustraliaCertified Advanced ColdFusion Developer
AFP Webworkshttp://afpwebworks.comColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups cfaussie group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---


[cfaussie] Re: OT: apache error - why not several hosts?

2006-04-23 Thread Mike Kear

Thanks Lindsay - that did the trick.  Worried me at first, because the
first time I ran http://dev.afpwebworks.com it took ages, but i guess
that's because it was compiling some files or something but after that
it ran quickly and works fine.

I needed to start using Apache instead of IIS because of the growing
need to use things like Modelglue and reactor, where if you have
mappings to the site root, you get issues.  this enables me to have
lots of sites running each with their own site root.  I got away with
having IIS and accessing my client sites with
http://localhost/clientsite   while everything could be inside the
client site root, but now,  all I need is a version of reactor that
requires a code change and i'm up the creek with no paddle.

Thanks for your help.

And Tom, removing the *:80 caused it to break to teh extent that
Apache wouldnt even start.

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month




On 4/24/06, Lindsay Evans [EMAIL PROTECTED] wrote:
 Hi Mike,

 Try doing it like this:

 NameVirtualHost dev.intranet:80
 VirtualHost dev.intranet:80
ServerName dev.intranet
 ...
 /VirtualHost

 NameVirtualHost dev.afpwebworks.com:80
 VirtualHost dev.afpwebworks.com:80
ServerName dev.afpwebworks.com
 ...
 /VirtualHost

 [snip]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---