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

CF10 How to change doc root on second instance

New Here ,
Jul 18, 2013 Jul 18, 2013

Copy link to clipboard

Copied

We have CF10 installed with two instances, cfusion and dev. There are lots of instructions on how to change the doc root by modifying the server.xml  file, which i did successfully on the cfusion instance. The server.xml file on the second instance, dev, looks entirely different from the first primary instance and has no context to set a different doc root and/or aliases.

Any clue how to change the doc root on a second instance?

Thanks,

Mike Oatsvall

P.S. there is a docroot global variable in the startup script for the dev instance. Which was not set. I tried setting that and restarted, no joy.

Views

502

Translate

Translate

Report

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 ,
Jul 18, 2013 Jul 18, 2013

Copy link to clipboard

Copied

LATEST

Well, Even though there is no predefined context at the bottom of server.xml I just copied the same directives from the primary instance and modified the pathing and it works!

Now we know....

Votes

Translate

Translate

Report

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
Documentation