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

CF10 How to change doc root on second instance

New Here ,
Jul 18, 2013 Jul 18, 2013

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.

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

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