By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,665 Members | 1,367 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,665 IT Pros & Developers. It's quick & easy.

URL rewriting

P: n/a
I'm trying to use a rule based URL rewrite application which uses
HttpApplication.RewritePath. I keep getting "rsource not found" error in
application when running on shared web host although the software runs fine on
my localhost. Is it possible that the web hosting service has configured
something in the machine.config file to disable URL rewriting? I have been
communicating with them but they seem clueless as to the cause.

Thanks for any insight.

--
Dabbler
Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Michael,
Have you made any configuration changes to your local IIS? Did you map
all file extensions to ASP.NET in order to use URL rewriting? If so it may
be that your hosting provider is using IIS defaults.

Best regards,
Jeffrey Palermo

"Michael Appelmans" <ml*@zitinko.com> wrote in message
news:MP************************@news.microsoft.com ...
I'm trying to use a rule based URL rewrite application which uses
HttpApplication.RewritePath. I keep getting "rsource not found" error in
application when running on shared web host although the software runs fine on my localhost. Is it possible that the web hosting service has configured
something in the machine.config file to disable URL rewriting? I have been
communicating with them but they seem clueless as to the cause.

Thanks for any insight.

--
Dabbler

Nov 18 '05 #2

P: n/a
Hi Jeffrey

I'm using IIS defaults as I'm only rewriting for .aspx urls. I just wondered if
there might be something in their machine.config which disables url rewriting.

Thanks for the reply.

Michael

In article <uj**************@TK2MSFTNGP10.phx.gbl>, "Jeffrey Palermo [MCP]"
<http://dotnetjunkies.com/weblog/jpalermo> says...
Michael,
Have you made any configuration changes to your local IIS? Did you map
all file extensions to ASP.NET in order to use URL rewriting? If so it may
be that your hosting provider is using IIS defaults.

Best regards,
Jeffrey Palermo

"Michael Appelmans" <ml*@zitinko.com> wrote in message
news:MP************************@news.microsoft.com ...
I'm trying to use a rule based URL rewrite application which uses
HttpApplication.RewritePath. I keep getting "rsource not found" error in
application when running on shared web host although the software runs

fine on
my localhost. Is it possible that the web hosting service has configured
something in the machine.config file to disable URL rewriting? I have been
communicating with them but they seem clueless as to the cause.

Thanks for any insight.

--
Dabbler



--
Dabbler
Nov 18 '05 #3

P: n/a
Michael,
There isn't a setting in the machine.config to "disable" url rewriting
because it's custom code that does the rewriting. I understand that it's
hard to debug on a server that is not your own, but you can sprinkle your
code with Trace.Write() statements to help out with this. I have
encountered this error when I tried going to http://server/subFolder/ and
the default page, default.aspx did not exist or when the page I'm rewriting
to doesn't exist.

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo
"Michael Appelmans" <ml*@zitinko.com> wrote in message
news:MP************************@news.microsoft.com ...
Hi Jeffrey

I'm using IIS defaults as I'm only rewriting for .aspx urls. I just wondered if there might be something in their machine.config which disables url rewriting.
Thanks for the reply.

Michael

In article <uj**************@TK2MSFTNGP10.phx.gbl>, "Jeffrey Palermo [MCP]" <http://dotnetjunkies.com/weblog/jpalermo> says...
Michael,
Have you made any configuration changes to your local IIS? Did you map all file extensions to ASP.NET in order to use URL rewriting? If so it may be that your hosting provider is using IIS defaults.

Best regards,
Jeffrey Palermo

"Michael Appelmans" <ml*@zitinko.com> wrote in message
news:MP************************@news.microsoft.com ...
I'm trying to use a rule based URL rewrite application which uses
HttpApplication.RewritePath. I keep getting "rsource not found" error in application when running on shared web host although the software runs

fine on
my localhost. Is it possible that the web hosting service has configured something in the machine.config file to disable URL rewriting? I have been communicating with them but they seem clueless as to the cause.

Thanks for any insight.

--
Dabbler



--
Dabbler

Nov 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.