473,507 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

URL rewriting

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
3 2717
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
8605
by: Jon Maz | last post by:
Hi All, I am experimenting with URL Rewriting using the techniques outlined by Scott Mitchell in his article "URL Rewriting in ASP.NET"...
3
3240
by: Jamie Jackson | last post by:
I'm rewriting all links' onclick events, but I'm having a problem. The onclick event that I'm inserting works correctly in Opera, but not in FF or IE. I'm retroactively adding the statement...
2
2574
by: Jon Maz | last post by:
Hi All, I've been looking into options for URL Rewriting in .net, and to be honest, I haven't seen anything that's easier than the old Classic Asp solution with an ISAPI filter redirecting to an...
2
2449
by: R-D-C | last post by:
Can these two functions coexist? We have a web site where the querystrings are removed using URL Rewriting. Instead the page appears to be a html page with a long name (containing what would be...
0
2094
by: Lee | last post by:
Hi all ;) Preamble -------- I'm using URL rewriting to enforce a frames policy (yeah, I know frames are 'bad' :) - i.e. if a request comes in for a page which should be nested within a...
3
4713
by: Greg Collins [Microsoft MVP] | last post by:
I have done a bit of research of Url Rewriting, but as yet have been unsuccessful at getting it to work well, and there are issues around what file types are supported and how much code you want to...
9
628
by: Frankie | last post by:
I understand that with URL rewriting we can have a request come in for, say Page1.aspx, and rewrite it so that PageA.aspx gets served up to the user. My question (assuming the above is correct):...
2
2327
by: Seth Williams | last post by:
The first scenario is that I want to create one website for a particular industry - let's say for Farm Machinery so I have a shared hosting site called myFarmMachinery.com But I want to sell...
1
7875
Shinobi
by: Shinobi | last post by:
I am using ASP.net(c#) for my project. In my my project 2 pages are using URL rewriting method by referring this article URL Rewriting using Intelligencia UrlRewriter Example 1 - Blog Day...
0
7221
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7109
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7029
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7481
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5039
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.