Forum Search Results for "" RSS 1—10 of 11

More Search Options

  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 07-10-2009, 1:33 PM

    That is unfortunately not possible, we have 5 sites on this server that need this subdomain url rewriting. So it should work on all of them or none.

    • http://forums.iis.net/p/1157577/1909927.aspx#1909927
  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 07-10-2009, 12:38 PM

     Yes, it is a separate web site. There are 2 bindings: www.domain.com domain.com So you are saying we have to add a binding for every of the 6.000 users we have at the moment? user1.domain.com user2.domain.com ... Isn't there some other solution, something like *.domain.com?  

    • http://forums.iis.net/p/1157577/1909919.aspx#1909919
  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 07-10-2009, 5:38 AM

     I tried that but nothing gets written in the log. Other rules do, like this one for ex. <rule name="Rewrite to article.aspx">           <match url="^article/([0-9]+)/([_0-9a-z-]+)" />           <action ...

    • http://forums.iis.net/p/1157577/1909851.aspx#1909851
  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 07-09-2009, 7:40 AM

    If you check my first post in this topic, it was {R:1}. Anyway, I tried both but it still doesn't work.

    • http://forums.iis.net/p/1157577/1909716.aspx#1909716
  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 07-08-2009, 8:37 AM

     I think I know why I allways got IIS welcome page, it was due to configuration of the DNS zone:  *        A    xxx.xxx.xxx.xxx  I removed that line, now I don't get IIS welcome page any more, but it still doesn't work with the above rule.

    • http://forums.iis.net/p/1157577/1909582.aspx#1909582
  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 07-08-2009, 6:56 AM

    I'm back. I am testing the whole thing on the production server now and I have some problems. So the subdomain rule I am using is: <rule name="subdomain">                     <match url="([a-zA-Z]+)" ...

    • http://forums.iis.net/p/1157577/1909573.aspx#1909573
  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 05-13-2009, 2:03 PM

    That's it, the rule "subdomain" from my 1. post was the problem. I simply moved the "SubDomainPictures" rule up and marked "Stop processing of subsequent rules". Works now, thank you very much.

    • http://forums.iis.net/p/1157577/1903611.aspx#1903611
  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 05-13-2009, 12:26 PM

     No, it doesn't result in 404, it just isn't there.

    • http://forums.iis.net/p/1157577/1903600.aspx#1903600
  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 05-12-2009, 5:39 PM

    I have tried it, but it doesn' work. I have tried with some modifications: <rule name="SubDomainPictures" stopProcessing="false">                     <match url="domain.com/pictures$" ...

    • http://forums.iis.net/p/1157577/1903492.aspx#1903492
  • Re: URL rewrite on localhost

    Posted to IIS7 - URL Rewrite Module by dbalasko on 05-12-2009, 4:23 PM

    It works now, thank you. Now I still need a rule for http://user1.domain.com/pictures for example, it should be rewriten to http://domain.com/user.aspx?pictures=1&user=user1 I tried with: <rule name="SubDomainPictures" ...

    • http://forums.iis.net/p/1157577/1903482.aspx#1903482

1 2 Next >

Microsoft Communities