Forum Search Results for "" RSS 1—5 of 5

More Search Options

  • Re: .htaccess file type for .asp

    Posted to Classic ASP by ldylion214 on 12-13-2007, 12:50 PM

    Someone wrote this code for me: <%@ Language=VBScript %> <% CONST CANONICALURL = "www.tribeazure.com" If Request.ServerVariables("SERVER_NAME") <> CANONICALURL Then  Dim HeaderValue  If  Request.ServerVariables("HTTPS") = "off" Then   HeaderValue = ...

    • http://forums.iis.net/p/1147015/1860543.aspx#1860543
  • Re: .htaccess file type for .asp

    Posted to Classic ASP by ldylion214 on 11-19-2007, 11:03 PM

    Thank you, Tom.  I will do that. Also Jeff I see that I wrote Jess.  I'm so sorry about that.  :) Best, Nicci

    • http://forums.iis.net/p/1147015/1859477.aspx#1859477
  • Re: .htaccess file type for .asp

    Posted to Classic ASP by ldylion214 on 11-19-2007, 9:50 AM

    [quote user="jeff@zina.com"] Easiest would be to use ISAPIRewrite to do this.  Affects all requests that way.  Eeven easier is point your DNS to the same site for both records and it doesn't matter. Jeff [/quote] Jess, Do you mean point my DNS to only //www.tribe? Best, Nicci

    • http://forums.iis.net/p/1147015/1859456.aspx#1859456
  • Re: .htaccess file type for .asp

    Posted to Classic ASP by ldylion214 on 11-19-2007, 9:49 AM

    [quote user="tomkmvp"] Are you trying to add all of that at the same time?  The "<script runat" section is for ASP.NET and will not work with classic ASP ... [/quote] No, I did try them both but not at the same time.  My host suggests these codes.  The other didn't work either.  However I'm ...

    • http://forums.iis.net/p/1147015/1859455.aspx#1859455
  • .htaccess file type for .asp

    Posted to Classic ASP by ldylion214 on 11-18-2007, 11:52 PM

    Hi all, I'm new here. I've been told a .htaccess file won't work on my site because it is .asp. What would be an alternative that would work for me. I have an old javascript code for redirect Would something like this work to redirect my //tribeazure.com to //www.tribeazure? I've tested more than a few codes on my site. Here ...

    • http://forums.iis.net/p/1147015/1859414.aspx#1859414

Microsoft Communities