Search squid archive

Re: Port Problem with squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have now redirected the port, using the following command:

iptables -t nat -A PREROUTING -m tcp -p tcp --dport 8098 -j REDIRECT
--to-port 3128


It seems I am getting further, but now I get:
__________________________________________


ERROR
The requested URL could not be retrieved

While trying to process the request:


GET /login.aspx HTTP/1.1
Host: example.com:8098
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
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
Referer: http://www.example.com/Page/Default.aspx



The following error was encountered:

    * Invalid Request

Some aspect of the HTTP Request is invalid. Possible problems:

    * Missing or unknown request method
    * Missing URL
    * Missing HTTP Identifier (HTTP/1.0)
    * Request is too large
    * Content-Length missing for POST or PUT requests
    * Illegal character in hostname; underscores are not allowed

Your cache administrator is webmaster
__________________________________________________________________

.
Any thoughts on this one?






On Mon, Jun 2, 2008 at 10:27 AM, Wenderson Souza
<wendersonsouza@xxxxxxxxx> wrote:
> 2008/6/1 Edward Dam <damfam@xxxxxxxxx>:
>> We have one intranet site: www.example.com
>>
>> When a user points to www.example.com, that webpage/server redirects
>> them to http://www2.example.com:8098/login.aspx
>>
>> The redirection is timing out. I've put port 8098 as one of the
>> Safe_ports in squid.conf, and allowed both example.com and
>> www2.example.com in my filters. Still no go. My iptables configuration
>> on the squid server is wide open, with the exception of the
>> redirection of port 80 to 8080.
>>
>> Any ideas, or suggestions for me?
>>
>
> the port 8098 isn't redirected to squid.
>
> this port is probabily passing out of proxy.
>
> --
> Wenderson Souza
> e-mail: wendersonsouza@xxxxxxxxx
> msn: wendersonsouza@xxxxxxx
>

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux