473,388 Members | 1,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

URLs not resolving Correctly

I have deploy an asp.net website to IIS 7.0 with an Apache server running using ProxyPass to redirect. When asp.net has to do a redirection (e.g.you try to go to a page and you are redirect to a login screen automatically) I am getting an error "The resource cannot be found" . This is because it trying to find the page at the wrong url (e.g when it should be http://MyDomain/Admin/User.aspx, the URL is http://MyDomain/Site/Admin/User.aspx) where Site is the actual name of the virtual folder in IIS. Help please
Dec 13 '11 #1
0 960

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Curious Expatriate | last post by:
Hi- I'm completely stumped. I'm trying to write some code that will parse a file and rewrite it with all URLs replaced by something else. For example: if the file looks like this: <b>click...
0
by: could ildg | last post by:
I want to retrieve all urls in a string. When I use re.fiandall, I get a list of tuples. My code is like below: url=unicode(r"((http|ftp)://)?((((+\.)+){3}+(/+)?)|(\w*((\.\w+)+){2,})(*)*)")...
1
by: | last post by:
After peforming a basic redirect with two query string parameters I load the page successfully...however the url does not look pretty...can anyone tell me why these percentage signs and extra...
24
by: sinister | last post by:
After doing a websearch, it appears that it's OK to omit the "http:" to form a relative URL. Are there any pitfalls to this? For example, if there is a page http://www.domain1.com/page1.html...
1
by: Michael Ferrier | last post by:
Hi, I've used fopen() extensively to open web pages. I've found that there is a small minority of web pages that open fine in a browser, but are inaccessible using fopen(). Here are two such...
0
by: Wanderer | last post by:
Hi all, who knows how to correctly make assembly resolving in asp.net? In WinApplications AppDomain.CurrentDomain.AssemblyResolve event works fine, but this is not a case of asp.net. If I...
10
by: tom | last post by:
hi group, i desperately need a function that will transform relative URLs to absolute URLs in the SRC part of <img> tags. ie: function makeAbsolute($html,$basehref) { //if regex match =...
2
by: rjbr | last post by:
ASP.NET problem I have ASP.NET 1.1 application installed on 3 server Win2003/IIS6 Relative paths are being resolved in 2 of those but not on one dir structire /app/ /import
3
by: Richard Townsend | last post by:
If I have a windows shortcut to a URL, is there a way to get the URL in a Python app? I found some code that uses pythoncom to resolve shortcuts to local files, but I haven't found any examples...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
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
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
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...

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.