wrong http response(301) from squid ( accelerator with redirect )

From: Mohamed Badri <m.badri@dont-contact.us>
Date: Thu, 22 Jun 2000 11:36:06 +0200

Hello,

I use squid with the Accelerator mode on port 80 and i have a
configuration problem,
for all documents squid return a response type 301 Moved Permanently.

i have a program redirector running, and when the program change an URL
it returns
this response.

any Idea ?

thanks in advance.

======================================================
configuration :

    http_port 80
    redirect_program /usr/local/squid/bin/redir
    redirect_children 1
    redirect_rewrites_host_header off
    httpd_accel_host 192.168.0.2
    httpd_accel_port 80
    httpd_accel_with_proxy on
     httpd_accel_uses_host_header on
    append_domain .ibiz.net

=======================================================
exemple of response given by squid for an HTTP request :

root@Linux1 src>telnet s3.ibiz.net www
Trying 192.168.0.3...
Connected to s3.ibiz.net.
Escape character is '^]'.
GET /assistant HTTP/1.0
Host: monsite-ibtest.voila.fr

HTTP/1.0 301 Moved Permanently
Date: Thu, 22 Jun 2000 08:26:02 GMT
Server: Apache/1.3.9 (Unix) (Red Hat/Linux) ApacheJServ/1.1
Location: http://monsite.ibiz.net/assistant/
Content-Type: text/html
Age: 0
X-Cache: MISS from servlinux3.ibiz.net
Connection: close

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A
HREF="http://monsite.ibiz.net/assistant/">here</A>.<P>
</BODY></HTML>
Connection closed by foreign host.
root@Linux1 src>
Received on Thu Jun 22 2000 - 03:39:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:07 MST