minor fix request: virtual host moved premanently

jlhughes

Joined: 2002-06-05
Posts: 81
Posted: Mon, 2002-08-19 20:14

It takes two tries to log into my name-based Web sites (jomari.com/gallery, rcubarcelona.org/gallery, fuzzheads.org/gallery) because the first response Gallery Remote receives from the server is "Permanently moved." When you click "Fetch albums" a second time, you are logged in and everything works as expected.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2002-08-20 09:21

Does it work better if you append slashes to your URLs?

What happens when you don't is Apache or any other server will send you a permanent redirect error to its URL (what IT thinks it is) and the appended slash.

 
jlhughes

Joined: 2002-06-05
Posts: 81
Posted: Tue, 2002-08-20 13:26

Adding the trailing slash to the URL does not change the behavior of Gallery Remote. It still requires two tries to log in.

Here's what Gallery Remote is receiving from the server:

The server returned the following response headers:
HTTP/1.1 301 Moved Permanently
Date: Tue, 20 Aug 2002 13:18:03 GMT
Server: Apache/1.3.26 Ben-SSL/1.48 (Unix) mod_dtcl mod_throttle/2.11 mod_perl/1.26 PHP/4.2.2 FrontPage/4.0.4.3 rus/PL30.14
Location: http://www.rcubarcelona.org/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

As I said, this is just one of those things that would be nice to fix if it's not a big hassle. Otherwise I can live with two clicks. Gallery Remote is a lifesaver on this server because the mod_throttle severely limits the number of photos you can upload directly using Gallery.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2002-08-21 07:32

It seems that this is a bug rather than a feature, because Gallery should follow the redirection without requiring you to do anything about it. Would you mind <!-- BBCode Start --><A HREF="http://sourceforge.net/tracker/?group_id=7130&amp;atid=107130" TARGET="_blank">opening a bug</A><!-- BBCode End --> on SourceForge about it?

Thanks