>- see footer for list info -< On Wed, 2004-12-01 at 10:24, Robertson-Ravo, Neil (RX) wrote: > >- see footer for list info -< > OK, I hope there are some Apache gurus on hand as I decided locally to > install Apache for development (so I can host multiple sites and multiple CF > installs on Windows XP) so I have done the following.. > > 1. Installed Apache 2.0.52 > 2. Installed CFMX J2EE > 3. Added cfmx.development.com to my hosts file pointing to 127.0.0.1 > 4. tested http://cfmx.development.com and seen the Apache test page
4) why would you put that in? Do you have "development.com" under your control? It's not a big deal, but it's not great practice! > However, I can't access the CFIDE. Anyone know what the problem is? I am > new to Apache as we are IIS Whores here ;-) First, see where the DocumentRoot variable of the server is set to, and check that the CFIDE directory is under that... ie: D:\apache\html\CFIDE (if D:\apache\html\ is your directory). Not sure with apache on win, but it always helps to have everything in the correct case (necessary on *nix). > Also, any pointers on setting up another URL / Site which can be accessed > via http://cfmx2.development.com (this will use another instance of > ColdFusion). Anyway, to answer your question, set up apache using virtual hosts. like this: #set this anywhere in the main body of the config file (httpd.conf) NameVirtualHost <IP Address>:80 then at the bottom (or anywhere) set these up: <VirtualHost <IP Address>:80> DocumentRoot "<dir>" ServerName cfmx2.development.com ServerAlias cfmx2.development.com *.cfmx2.development.com #to change where logs are placed... can be very useful ErrorLog "<full_path_to_error_log_file>" CustomLog "<full_path_to_log_file>" </VirtualHost> REMEMBER: if you use namevirtualhost and you specify the IP, it will return what you have in the document root. If this helps, then great! I cannot stress enough how important getting the right case in apache setups is! Paul _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
