473,473 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

404 and 301 responses

I have a server running iis6 and ISA server for my firewall, I host a large
number of sites
I recently read that Google penalizes you for having multiple domain names
and that www and no www are counted as 2 domain names.
So I though I would fix the problem, Google likes to get a 301 redirect so I
set a up anew web site and using my ISA server I send all requests that are
using the domains I want search engines to use to the correct web sites. I
sent all non www request and all duplicate domain names to the new site and
set up a custom 404 page in IIS.
On the 404 page I get the page info using Request.Url and send the request
to the right page using a 301 redirect. alls fine so far. But some requests
for aspx pages using query strings are handed to asp.net and go to the
asp.net 404 page and not the IIS 404 page. so I set up a custom 404 page for
asp.net. Here is where my problems started. In the asp.net 404 custom page I
am sent a query string like this ?aspxerrorpath=/folder/filename.aspx
with this I have no idea what site it came from and I have lost the query
string.

Is there a way I can get this info, or is there a way I can sent all 404s to
the IIS custom page?

I don't want to set up custom pages on every site this would let me know
what site the request was for but would be very time consuming and still
would not get me the query string.

any ideas?

Sep 5 '08 #1
0 708

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Etienne Labuschagne | last post by:
Thanks for the responses. I will look into using PySerial for talking to the modem as suggested by Peter. The code example I gave is probably not the best way to do it, but it seemed to work ok...
6
by: Grant Edwards | last post by:
According to Google, the question has come up before, but there doesn't seem to be much of an answer. The imaplib module return values are mostly useless as-is: they're just whatever string the...
2
by: Alex Maghen | last post by:
Hi. I don't mean to be a pain in the butt but can someone at MS tell me if something has changed in terms of your support for Newsgroup responses? Used to be - as recently as a month ago - that if...
1
by: saleem | last post by:
Dear friends, I am working on the problem which deals with the data management of requests and how should we match the responses for the requests to compare the correct Response. my problem...
1
by: mb | last post by:
I wrote a question which received about 8 responses. I checked back today and all the responses are gone. It has been about a week.
17
by: Lauren Wilson | last post by:
Does anyone know if it is possible to capture FTP responses to various FTP commands when managing an FTP session from a VBA procedure? For example, if we try to login to an FTP server and the...
0
by: D. Patrick | last post by:
I need to duplicate the functionality of a java applet, and how it connects to a remote server. But, I don't have the protocol information or the java source code which was written years ago. ...
2
by: Sinex | last post by:
Hi, I need to develop a simulator for my webservice. This simulator will be used by the clients development team. Client has given me a wsdl file. My simulator has to be a web service itself....
6
by: xkenneth | last post by:
Hi, I'm working on developing an XML-RPC interface from LabVIEW to python and I would really like to see how python is forming it's XML- RPC requests/responses. Is there any way I can force...
5
by: matt | last post by:
This is a strange one but I've been stuck on it for days. Any help appreciated. THE PLAN: I've a database that I use a script to grab all the entries for a particular field. I then want to...
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
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
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
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
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
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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.