tracker issue : CFB-3951395

select a category, or use search below
(searches all categories and all time range)
Title:

Virtual Host Settings are not applied to the bundled server

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): David Belanger / David (David Belanger)

Created: 03/11/2015

Components: Bundled Server

Versions: 3.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: 3.0 Final /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Windows 8.1/64bit

Vote Count: 0

Problem Description:

When I try to add a virtual host to the bundled server it appears to register in CF Builder (it shows up in the Virtual Hosts list) however the virtual host added doesn't work.  I can also confirm that the server.xml file is not modified in any way in the C:\ColdFusionBuilder3\ColdFusion\cfusion\runtime\conf directory.

Steps to Reproduce:

1) Right click on defaultLocal then choose Edit Server
2) Click Next
3) Choose the Virtual Host Settings tab
4) Click New
5) Add a virtual host (example, Name=Test1, HostName = test1, Port=8603 (I tried several including 8600), Type=http, DocumentRoot=C:\ColdFusionBuilder3\ColdFusion\cfusion\wwwroot\test1\
6) Click Apply
7) Click Finish
8) Restart the bundled server.  Make sure there are no errors in the console
9) Make sure to add "test1" to the HOSTS file in C:\windows\system32\drivers\etc (pointing to 127.0.0.1)

Actual Result:

-http://test1:8603 = Unable to connect

-The server.xml file was not modified.
-There was no new directory in C:\ColdFusionBuilder3\ColdFusion\cfusion\runtime\conf\Catalina for test1 (there should be)

Expected Result:

http://test1:8603 should show me the root of my site.

Any Workarounds:

As is stands, I'm using http://localhost:8600/subdirectory/ to test my projects but I need to use Apache's rewrite capabilities in almost all my websites and I can't test that locally until I get Apache to treat my sites as the root (hence the importance of the the virtual hosts functionality).

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3951395

Reason:	BugVerified

External Customer Info:
External Company:  
External Customer Name: David
External Customer Email:  
External Test Config: My Hardware and Environment details:  Windows 8.1 Pro, AMD Phenom II X6, CFBuilder Build: 292483

Attachments:

Comments:

Not having a working virtual host also affects debugging.
Comment by External U.
26724 | March 11, 2015 06:28:39 AM GMT