Sagewire Logo

change server root to outside directory

4 Message(s) by 3 Author(s) originally posted in cfml discussion


From: cfdoogan Date:   Wednesday, October 24, 2007
I am setting up our dev. server to emulate our production file system. To do
so I need to change the server root to C:/websites/xxxxx/. How is this done
using the built in webserver in CF7? I only know how to change the root
relative to the wwwroot folder .


From: GArlington Date:   Thursday, October 25, 2007
wrote in message:
I am setting up our dev. server to emulate our production file system. To do
so I need to change the server root to C:/websites/xxxxx/. How is this done
using the built in webserver in CF7? I only know how to change the root
relative to the wwwroot folder.



Look for a file called jrun-web.xml
Edit the lines:
<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>Your desired path</system-path>
</virtual-mapping>


From: dacf Date:   Friday, October 26, 2007
Please review the following docs and reply if you can not get it.

http://www.adobe.com/support/Cold Fusion/adv_development/config_builtin_webserver
/index.html

find the jrun-web.xml file and change/add a setting such as the following and
then restart the ColdFusion server:

<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>C:/apache/htdocs</system-path>
</virtual-mapping>

[Do not forget the star in my experience!]


From: cfdoogan Date:   Friday, October 26, 2007
daCF - looks like everything worked except that when I try to get into the
administrator it produces a "404 NULL" error. I moved the CFIDE folder to the
new root and left the WEB-INF as instructed. I can navigate through the CFIDE
and then again through the administrator folder and down to the index.cfm, but
still produces the error.

<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>C:/websites/xxxxx</system-path>
</virtual-mapping>



Next Message: Insert Multiple Records and newest record id


Blogs related to change server root to outside directory

Web Hosting
Virtual Dedicated Server: slicing up a server into virtual servers. each user feels like they're on their own dedicated server, but they're actually sharing a server with many other users. The users may have root access to their own ...

Host
... directory since tophosts com ihostphotos gallery how to trasnfer a domain name hostmonster hostess snowballs elder hostle europe flying dutchman ghost ship mimosa hostilis root bark http://student-loan-no-cosigner.yourgoldhost.org ...

Document
... firm document retention lori valid information nagy release document mailed conceal word document on desktop condition loop though entire xml document in coldfusion primary documents of al capone document destruction, alpharetta, ...

Document
_document failed adminet cyberdocumentation center main portal al-si document doe formation iron porosity role documented cases of somatoform indesign changing text box size in multiple page document documentos eclesiales documebt ...

Document
... documentation of toe ulcer dressing change hydrogel dreadhead documentary domdocument+xmlhttp hbo documentary my mother was murdered inexpensive document shredding boise idaho condition loop though entire xml document in coldfusion ...

Document
264 in 1936 servizio triturazione documenti boise, idaho inexpensive document shredding documented fingerprint experiment the great global warming swindle - documentary film summary dod document 50152 guida documentazione sui web server ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional