Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Changing CF10 default web root to use dropbox

New Here ,
Dec 26, 2013 Dec 26, 2013

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

848
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 05, 2014 Jan 05, 2014

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 06, 2014 Jan 06, 2014
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources