RE: [squid-users] FTP directory listing missing BASE HREF tags

From: Gerard Eviston <geviston@dont-contact.us>
Date: Sat, 17 Aug 2002 10:55:47 +1000

> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@marasystems.com]
> Sent: Saturday, August 17, 2002 12:16 AM
> To: Gerard Eviston; squid-users@squid-cache.org
> Subject: Re: [squid-users] FTP directory listing missing BASE HREF
tags
>
> BASE HREF is only generated if Squid receives a ftp:// URL for a
directory
> and where the URL does not end in /. This to not disturb redirection
or
> FTP authentication more than neccesary.

Thanks for the reply. Some more info:

When the BASE HREF is not generated the links are still relative. Maybe
it's the links rather than the missing BASE HREF tag that's the cause of
the problem?

But the behaviour seems to be different at times even for the same url.

<!-- Fri, 16 Aug 2002 08:53:29 GMT -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><TITLE>
FTP Directory: ftp://mirror.aarnet.edu.au/raid/2/debian/dists/
</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;
font-family:verdana,sans-serif}--></STYLE>
</HEAD><BODY>

<!-- Fri, 16 Aug 2002 08:55:02 GMT -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><TITLE>
FTP Directory: ftp://mirror.aarnet.edu.au/raid/2/debian/dists/
</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;
font-family:verdana,sans-serif}--></STYLE>
<BASE HREF="ftp://mirror.aarnet.edu.au/raid/2/debian/dists/">
</HEAD><BODY>

> Do you have any intermediary proxies between Squid and your browser?
Have
> seen some intermediary proxies for content filtering etc that
incorrecly
> munges some FTP URLs and thereby disturbing Squids BASE HREF logics.

For FTP traffic, it is [client - squid - ftp proxy - internet]

> Do you have the problem in the root directory of the FTP server, or in
> arbitrary directories below the root? (the two cases are considerably
> different when looking for an error cause).
>

In all cases I've come across it has been under a subdirectory.

Regards
Gerard
Received on Fri Aug 16 2002 - 18:55:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:39 MST