473,586 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
+ 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

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 846

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

Similar topics

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 (after running the diagnostics program). How do I "test for the modem prompt" and "confirmation after any outputs"? Any pointers as to "the...
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 server sent (or in some cases a list of strings). You've got to parse them using the IMAP syntax before you can do much with them. Is there a...
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 I posted a reasonable question, especially in your .NET groups, I'd get an MSFT response almost assuredly within 24 hours. Lately, though, there...
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 is like this, say I am intermediary node between "m" and "n" nodes . n nodes send any of the "p"type of requests to any one of the "m" nodes on...
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.
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 login info is incorrect, FTP replies with a message to that effect. I need to capture those kinds of responses and advise the user of an Access app...
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. So, I used a packet sniffer and saw the protocol (TCP), the port, IP address, etc. All is good. I tried 2 different versions of .NET code to...
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. Simulator has to accept requests from the client and send back hardcoded responses. I've also been asked to use https. The wsdl lists out the...
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 these to a log or print them to the screen? Thanks. Regards, Ken
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 send each of these entries individually to another server using fputs. The server will send 1 response (a lin of text) back for each item
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.