I need to be able to debug my application through host headers that I have
set up in IIS and my local hosts file. When debugging starts, the url IE is
sent to is:
//localhost/myapp/mychosenstartpage
Is there a way to debug with a host header? Something like:
//myapp.com
TIA~ PJ
Mike Forkey [MSFT] - 31 Jul 2003 19:53 GMT
--------------------
| From: "PJ" <pjwal@hotmail.com>
| Subject: Debug with Host Headers
[quoted text clipped - 12 lines]
|
| TIA~ PJ
PJ:
Can you tell me more about your scenario and what you have tried? What type
of project is it? Have you verified that web site is accessible via your
webrowser? If the web browser can't find it the debugger won't either. You
would also need to set up your chosen page as the default to only need the
host header name to access it as you indicate above. If not then somthing
like //myapp.com/myapp/mychosenstartpage should work.
I tried to replicate the scenario you describe. But I couldn't even get the
web browser to find the site by the new name.
Assuming you do have that working and can access it from your web browser
you should be able to change URL in the Debugging Properties page for your
project and I think it should work. I am still trying to verify that though
(i.e. whether or not it is a supported scenario.)
Mike Forkey
Visual C++ Team
Legal stuff: This posting is provided AS IS with no warranties, and confers
no rights.