XWEB: Changing the Active Server Components Virtual Directory

ID: Q174707


The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

After installing the Microsoft Exchange Active Server Components, the default Internet Information Service (IIS) "virtual directory" for accessing the Exchange Server logon page is set to /Exchange.

Under certain circumstances, it may become necessary to change this.


MORE INFORMATION

Use the following steps to change the current virtual directory.

NOTE: Make copies of all files before making any changes!

  1. In files \<Exch_dir>\Webdata\Global.asa and \<Exch_dir>\Webdata\<Lang>\Constant.inc, change bstrVirtRoot = "/exchange" to bstrVirtRoot = "/new_virtual_root" without the quotes.

    NOTE: Always use lower case for anything that might find its way into a URL.


  2. Change the registry setting that the Exchange Filter (Exchfilt.dll) uses:

    WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

    For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.
    
         \HKEY_LOCAL_MACHINE
         \SYSTEM
         \CurrentControlSet
         \Services
         \MSExchangeWeb
         \Applications
         \<key> (Where <key> currently = Exchange).
       
    Change the <key> to = new_virtual_root


  3. In file \<Exch_dir>\Webdata\<Lang>\Default.htm, change
    
       <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=/exchange/logon.asp">
      

    to
    
       <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=/new_virtual_root/logon.asp">
      


After making this change, you will need to enter http://<server>/new_virtual_root to access the Exchange Active Server Components logon page.

Also, you can add more keys to the Applications key, and the Exchange Filter will do language switching for those virtual roots as well.

NOTE: If you ever change something in the Global.asa file, you must also make a matching change the Constant.inc file. The two files contain some duplicate data that must be kept synchronized.

Additional query words: XWEB change directory ASP


Keywords          : XWEB 
Version           : WinNT:5.0,SP1
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: April 19, 1999