I am trying to set up a local dev server that is running Virtual Hosts.

I would like some of the virtual hosts to run on CF 5 and another to
run on CFMX, has anyone achieved this?

I can get the CF5 Virtual Hosts working but the CFMX one gives me an error 500.

This is how I am configuring it in httpd.conf

<VirtualHost cf5site>
   ServerAdmin [EMAIL PROTECTED]
    DocumentRoot "c:/www/cf5site/"
    ServerName cf5site
    ErrorLog logs/cf5site-error_log
    CustomLog logs/cf5site-access_log common
    Alias /cfide/ "c:/Inetpub/wwwroot/cfide/"
    Alias /Main/ "c:/Inetpub/wwwroot/Main/"
   
    LoadModule coldfusion_module modules/mod_coldfusion.so
    AddHandler type-coldfusion cfm dbm
</VirtualHost>

<VirtualHost cfmxsite>
   ServerAdmin [EMAIL PROTECTED]
    DocumentRoot "c:/www/cfmxsite/"
    ServerName cfmxsite
    ErrorLog logs/icfmxsite-error_log
    CustomLog logs/cfmxsite-access_log common
    Alias /cfide/ "C:/CFusionMX/wwwroot/cfide/"
    Alias /Main/ "C:/CFusionMX/wwwroot/cfide/"
   
   # JRun Settings
   LoadModule jrun_module "C:/CFusionMX/runtime/lib/wsconfig/1/mod_jrun20.so"
   JRunConfig Verbose false
   JRunConfig Apialloc false
   JRunConfig Ssl false
   JRunConfig Ignoresuffixmap false
   JRunConfig Serverstore "C:/CFusionMX/runtime/lib/wsconfig/1/jrunserver.store"
   JRunConfig Bootstrap 127.0.0.1:51010
   #JRunConfig Errorurl <optionally redirect to this URL on errors>
   AddHandler jrun-handler .jsp .jws .cfm .cfc
</VirtualHost>

(running under Windows by the way)

Thanks in advance

Mark Drew
http://cybersonic.blogspot.com
mailto:[EMAIL PROTECTED]
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to