Copy link to clipboard
Copied
Hi,
I managed to have this running fine in CF9 for a long time but I have just updated to CF10 dev edition on my local Mac and I can't seem to get it working after much research and various tweaks.
I have changed the server.xml config file to the following (amongst various other variations):
<Context path="/" |
docBase=“/Users/craig/Dropbox/www”
WorkDir="/Applications/ColdFusion10/cfusion/wwwroot”
aliases="/CFIDE=/Applications/ColdFusion10/cfusion/wwwroot/CFIDE,/WEB-INF=/Applications/ColdFusion10/cfusion/wwwroot/WEB-INF">
</Context>
I restart CF10 each time but continue to get the following browser error: Safari (any browser) can't connect to the server: 127.0.0.1
Any help very much appareciated as I like to run CF on both my iMac and Air sharing the same DropBox root.
Thanks
Copy link to clipboard
Copied
Hi TOLR,
The docBase, WorkDir and aliases should have the absolute path to a directory. for e.g. "docBase=“c:/Users/craig/Dropbox/www”"
TLOR wrote:
<Context path="/" docBase=“/Users/craig/Dropbox/www”
WorkDir="/Applications/ColdFusion10/cfusion/wwwroot”
aliases="/CFIDE=/Applications/ColdFusion10/cfusion/wwwroot/CFIDE,/WEB -INF=/Applications/ColdFusion10/cfusion/wwwroot/WEB-INF">
</Context>
I restart CF10 each time but continue to get the following browser error: Safari (any browser) can't connect to the server: 127.0.0.1
Any help very much appareciated as I like to run CF on both my iMac and Air sharing the same DropBox root.
Thanks
Also, the list of aliases should be of the form "/aliasPath1=docBase1,/aliasPath2=docBase2" where aliasPathN must include a leading '/' . I see an extra space in WEB-INF under aliases, if not intentional.
Save the server.xml, restart the CF10 Application service and see if it helps.
Regards,
Anit Kumar
Copy link to clipboard
Copied
Hi Anit,
Thanks for taking the time to reply.
I checked the file and ensured any spaces were removed and restarted and I'm afraid it still doesn't work (The paths are Mac paths and are actually absolute).
Has anyone else got this to work, it really is very frustrating and is obviously related to the new CF inbuilt server as was never an issure before
Cheers