httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mukarram Syed <muks...@yahoo.com>
Subject Re: [users@httpd] Yet another Redirect/ RedirectMatch question
Date Fri, 27 Jan 2006 22:48:00 GMT
Hi,
I am trying to reproduce the error that you all have mentioned in your emails to me.  
Where do you get the part where it says:
 
 [HTTP/1.1 *301 Moved Permanently*\r\nServer: 
 Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:
 20 GMT\r\nContent-length: 0\r\n*Location: 
 http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]

I have used Live Http Headers and when I hit http://maxim-toastmaster.com I get the following:

http://www.esalton.com/store/application

GET /store/application HTTP/1.1
Host: www.esalton.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: root.autoUserLoginId=muksyed; JSESSIONID=15BA62B88A1C9A40D8C02445B8D06E40.sprod1
If-Modified-Since: Mon, 22 Nov 2004 19:19:56 GMT
If-None-Match: "369b8e-649-bde1af00;b025fec0"

HTTP/1.x 404 Not Found
Date: Fri, 27 Jan 2006 22:42:58 GMT
Server: Apache/2.0.46 (Red Hat)
Last-Modified: Mon, 14 Nov 2005 18:22:29 GMT
Etag: "48264-649-8dc58340;8dc58340"
Accept-Ranges: bytes
Content-Length: 1609
Connection: close
Content-Type: text/html; charset=UTF-8

Please help.  I am confused.

Thanks very much for the help provided so far.

Mukarram Syed <muksyed@yahoo.com> wrote: Thanks Anderson.

To answer the last part "
 Yet, it should work... Anyways, I think 
your best shot would be to redirect http://www.max-toastmaster.com/ 
directly to http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .
"

I tried that i.e.,

<VirtualHost *:80>
  ServerName maxim-toastmaster.com
  Redirect / http://www.esalton.com/control/main/
</VirtualHost>

It still doesn't work.

Thanks for your help.  They help narrow down to the problem immensely.

Regards

-Mukarram 

Anderson Miranda <anderson@brasilenergia.com.br> wrote: Hi Syed, List...

First off, I'm getting the headers from my proxy log files (squid).

When I try to access http://www.esalton.com/ , I'm getting this:
[HTTP  /1.1  *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 
GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSe
t-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; 
Path=/\r\n*Location: http://www.esalton.com/control/main*\r\nCon
tent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 
0\r\nConnection: close\r\n\r]

which means you have, somewhere, a Temporary Redirection for the 
http://www.esalton.com/ address.

When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:
[HTTP/1.1 *301 Moved Permanently*\r\nServer: 
Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:
20 GMT\r\nContent-length: 0\r\n*Location: 
http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]

which means you have, somewhere, a Permanent Redirection for the 
http://www.maxim-toastmaster.com/ address.

I'm not 100% sure how HTTP protocol works with such redirections but, 
it's at least confusing to   have an  address permanently redirected to a 
second address and then, to have this second address temporarily 
redirected to a third one... Yet, it should work... Anyways, I think 
your best shot would be to redirect http://www.max-toastmaster.com/ 
directly to http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .

Hope this all can help you.

Regards,
asm

______________________
Mukarram Syed escreveu:

>
> Thanks Joost.  This helps.  What do we do next since it is not 
> pointing to Apache.  It looks like someone else is displaying this 404 
> error page.
>
> Silly question...How did you look at the headers.  I downloaded http 
> liveheaders for firefox and when I opened it up, I am not seeing 
> anything in the headers.
> I know this is slightly out of scope, but I appreciate the help.
>
> thanks
> -Mukarram Syed.
>
> */Joost de   Heer  /* wrote:
>
>     Mukarram Syed wrote:
>     > Hi.
>     > Thanks for replying Joshua. Sorry for delay in responding back.
>     >
>     > Here is my redirect:
>     >
>     >
>     > ServerName maxim-toastmaster.com
>     > Redirect / http://www.esalton.com/
>     >
>
>     Here are the headers when I go to 'http://maxim-toastmaster.com':
>
>     HTTP/1.x 301 Moved Permanently
>     Server: Netscape-Enterprise/6.0
>     Date: Fri, 27 Jan 2006 09:51:16 GMT
>     Content-Length: 0
>     Location: http://www.esalton.com/store/application
>     Connection: close
>
>     I.e. a Sun ONE webserver is answering and not Apache....
>
>     Joost
>
>
>     ---------------------------------------------------------------------
>     The official User-To-User support forum of t  he  Apache HTTP Server
>     Project.
>     See for more info.
>     To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>     " from the digest: users-digest-unsubscribe@httpd.apache.org
>     For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> With a free 1 GB, there's more in store with Yahoo! Mail. 
>  




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





Mukarram  Syed
muksyed@yahoo.com   

---------------------------------
 
  What are the most popular cars? Find out at Yahoo! Autos 



Mukarram Syed
muksyed@yahoo.com
			
---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used
cars.
Mime
View raw message