Re: .htaccess file for the old FOP website

2005-08-25 Thread Christian Geisert
Jeremias Maerki schrieb:
> Very weird. Look here:
> http://xml.apache.org/fop
> 
> GET /fop HTTP/1.1
> Host: xml.apache.org
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) 
> Gecko/20050716 Firefox/1.0.6
> [..]
> 
> HTTP/1.x 301 Moved Permanently
> Date: Thu, 25 Aug 2005 06:24:28 GMT
> Server: Apache/2.0.54 (Unix) mod_ssl/2.0.54 OpenSSL/0.9.7a DAV/2 SVN/1.2.0-dev
> Location: http://xml.apache.org/fop/
> [..]

And this should give another redirect to http://xmlgraphics.apache.org
(and it does so for me)

Anyway, I've removed the trailing slashes in the .htaccess file,
hopefully this will fix it.

-- 
Christian


Re: .htaccess file for the old FOP website

2005-08-24 Thread Jeremias Maerki
Very weird. Look here:
http://xml.apache.org/fop

GET /fop HTTP/1.1
Host: xml.apache.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) 
Gecko/20050716 Firefox/1.0.6
[..]

HTTP/1.x 301 Moved Permanently
Date: Thu, 25 Aug 2005 06:24:28 GMT
Server: Apache/2.0.54 (Unix) mod_ssl/2.0.54 OpenSSL/0.9.7a DAV/2 SVN/1.2.0-dev
Location: http://xml.apache.org/fop/
[..]


On 25.08.2005 00:45:07 Christian Geisert wrote:
> Jeremias Maerki schrieb:
> > I've changed the .htaccess file to "RedirectPermanent" as you suggested.
> > 
> > It's quite interesting. First, I thought all the pages have to be
> > removed in order for the redirect to work, but it seems that all the
> 
> No, you don't need to remove anything (but this should be done anyway 
> later ;-)
> 
> > pages are now properly redirect except http://xml.apache.org/fop/index.html.
> > index.pdf is happily redirected but not index.html. Weird.
> 
> Mmmh, works for me (with Firefox, Konquerer and Lynx)
> You might want to check the http headers with the Live HTTP headers 
> extension for Firefox.
> 
> This should give something like this:
> 
> GET /fop/index.html HTTP/1.1
> Host: xml.apache.org
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10)
> Gecko/20050730 Firefox/1.0.6 (Debian package 1.0.6-2)
> 
> [..]
> 
> HTTP/1.x 301 Moved Permanently
> Date: Wed, 24 Aug 2005 22:32:28 GMT
> Server: Apache/2.0.54 (Unix) mod_ssl/2.0.54 OpenSSL/0.9.7a DAV/2 
> SVN/1.2.0-dev
> Location: http://xmlgraphics.apache.org/fop/index.html
> 
> 
> 
> Christian



Jeremias Maerki



Re: .htaccess file for the old FOP website

2005-08-24 Thread Christian Geisert

Jeremias Maerki schrieb:

I've changed the .htaccess file to "RedirectPermanent" as you suggested.

It's quite interesting. First, I thought all the pages have to be
removed in order for the redirect to work, but it seems that all the


No, you don't need to remove anything (but this should be done anyway 
later ;-)



pages are now properly redirect except http://xml.apache.org/fop/index.html.
index.pdf is happily redirected but not index.html. Weird.


Mmmh, works for me (with Firefox, Konquerer and Lynx)
You might want to check the http headers with the Live HTTP headers 
extension for Firefox.


This should give something like this:

GET /fop/index.html HTTP/1.1
Host: xml.apache.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10)
Gecko/20050730 Firefox/1.0.6 (Debian package 1.0.6-2)

[..]

HTTP/1.x 301 Moved Permanently
Date: Wed, 24 Aug 2005 22:32:28 GMT
Server: Apache/2.0.54 (Unix) mod_ssl/2.0.54 OpenSSL/0.9.7a DAV/2 
SVN/1.2.0-dev

Location: http://xmlgraphics.apache.org/fop/index.html



Christian


Re: .htaccess file for the old FOP website

2005-08-24 Thread Jeremias Maerki
I've changed the .htaccess file to "RedirectPermanent" as you suggested.

It's quite interesting. First, I thought all the pages have to be
removed in order for the redirect to work, but it seems that all the
pages are now properly redirect except http://xml.apache.org/fop/index.html.
index.pdf is happily redirected but not index.html. Weird.

On 24.08.2005 11:13:28 Christian Geisert wrote:
> Jeremias Maerki schrieb:
> > FYI, I've added a .htaccess file with the following content to the
> > /www/xml.apache.org/fop/ directory:
> > 
> > Redirect /fop/ http://xmlgraphics.apache.org/fop/
> > 
> > I hope this is correct. In case the old website acts up you can still
> 
> Looks correct, but it doesn't work yet (lets wait a few more hours ...)
> A RedirectPermanent would be better in this case as it will send a 301
> (Moved Permanently) status code.
> 
> Christian



Jeremias Maerki



Re: .htaccess file for the old FOP website

2005-08-24 Thread Jeremias Maerki
Thanks. I appreciate any tips because I'm not a specialist in this area.
A message on infrastructure seems to indicate that rsync is currently
broken because somebody uploaded non-world-readable files into the /www
directory. I don't think it was me. :-) I've checked.

On 24.08.2005 11:13:28 Christian Geisert wrote:
> Jeremias Maerki schrieb:
> > FYI, I've added a .htaccess file with the following content to the
> > /www/xml.apache.org/fop/ directory:
> > 
> > Redirect /fop/ http://xmlgraphics.apache.org/fop/
> > 
> > I hope this is correct. In case the old website acts up you can still
> 
> Looks correct, but it doesn't work yet (lets wait a few more hours ...)
> A RedirectPermanent would be better in this case as it will send a 301
> (Moved Permanently) status code.
> 
> Christian



Jeremias Maerki



Re: .htaccess file for the old FOP website

2005-08-24 Thread Christian Geisert
Jeremias Maerki schrieb:
> FYI, I've added a .htaccess file with the following content to the
> /www/xml.apache.org/fop/ directory:
> 
> Redirect /fop/ http://xmlgraphics.apache.org/fop/
> 
> I hope this is correct. In case the old website acts up you can still

Looks correct, but it doesn't work yet (lets wait a few more hours ...)
A RedirectPermanent would be better in this case as it will send a 301
(Moved Permanently) status code.

Christian



.htaccess file for the old FOP website

2005-08-23 Thread Jeremias Maerki
FYI, I've added a .htaccess file with the following content to the
/www/xml.apache.org/fop/ directory:

Redirect /fop/ http://xmlgraphics.apache.org/fop/

I hope this is correct. In case the old website acts up you can still
rename the file. Too bad we can't force a local rsync to quickly preview.
I'll remove the old website as soon as we've verified that the redirect
works properly.

Now to the main XML Graphics site

Jeremias Maerki