Jump to content
UHsoccer

automatically change URL via global.asa file

Recommended Posts

Trying to simplify the URL that the user has to enter from

 

http://www.request4support.com/test to automatically changing it to

 

http://www.request4support.com/test/login.asp

 

Like to do so in the global.asa files using something like the following (which does NOT work)

 

<script language="VBscript" runat="Server">

sub Session_OnStart

<files> <add value="login.asp"/> </files>

end sub

</script>

 

By the way, in my preview it does not correctly repeat the domain request4support

Edited by UHsoccer

Share this post


Link to post
Share on other sites

If the file is always login.asp then you can just add login.asp as one of the default documents for your web site. If you need more complex rules about rewriting then you can use this extension:

 

https://www.iis.net/downloads/microsoft/url-rewrite

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...