You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by Vincent Massol <vm...@pivolis.com> on 2003/07/15 07:42:54 UTC

todo: add apache mirror support to download page

Reminder: we need to add apache mirror support to our download page so
that user can be taken to their mirrors instead of www.apache.org

For more explanations, see http://cvs.apache.org/~bodewig/mirror.html

-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


Re: todo: add apache mirror support to download page

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 15 Jul 2003, Vincent Massol <vm...@pivolis.com> wrote:

> First thank for your mirroring guidelines! It helped me a lot :-)

It is always easy tio write something like this if you make the notes
as you go.

> If I understood correctly we have to modify our download page to
> insert some template keywords.

Sort of, yes.  You may also need to take care of some relative paths,
I can't remember the details from the top of my head, but under some
circumstances you were better of using absolute URLs for images and
links.  You may want to experiment a little.

> Then we need to modify the link to our download page and replace it
> with a call to a CGI script

Yes.

> passing our HTML template file as input.

No.

First you have to write a CGI script exactly like the one in my
document (and make sure it's executable in CVS, i.e. chmod +x befor
you commit it).

This will in turn invoke another script named mirrors.cgi which will
chose the template based on the requests URL and its configuration
file.

> Not sure I understand about the need for a change to www.apache.org?
> (I'm certainly missing something).

The configuration file is there.

Once you have your CGI script ready, tell me where it is and what the
correct template would be and I'll adapt the configuration file.  For
example in Ant land we use http://ant.apache.org/srcdownload.cgi and
want it to use the template srcdownload.html, the configuration look
like 

[ant.apache.org]
srcdownload.cgi = /www/ant.apache.org/srcdownload.html

and we invoke the download page by using the CGI script.  Hope I've
been able to explain things rather than increase the confusion.

I'll be in a couple of meetings most of the next hours, sorry if I
won't be as responsive as I'd like to.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


Re: todo: add apache mirror support to download page

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 15 Jul 2003, Christopher Lenz <cm...@gmx.de> wrote:

> Do you mean that there's a risk that a "mirror" that is faking our
> release would also fake or remove the information about the
> signatures?

Exactly.

The same reasons you shouldn't trust KEYS files or signatures from the
mirrors should apply to the pages that link to the signatures IMHO.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


Re: todo: add apache mirror support to download page

Posted by Christopher Lenz <cm...@gmx.de>.
Stefan Bodewig wrote:
> On Tue, 15 Jul 2003, Christopher Lenz <cm...@gmx.de> wrote:
>>The information provided on our download page could be moved to
>>HEADER.html or README.html files in the download directory.
> 
> You'd loose one advantage of a separate download page: pointing people
> to the signatures and making sure they'll pick them up from the main
> server instead of the mirror.

Just that I get that right... we *could* add the information about the 
signature to README.html, similar to this:

http://ftp.leo.org/pub/comp/general/infosys/www/daemons/apache/dist/jakarta/commons/discovery/binaries/
(bottom)

Do you mean that there's a risk that a "mirror" that is faking our release 
would also fake or remove the information about the signatures?

> As you are not pointing to the signatures right now either, you are
> not loosing too much, off course.  8-)

:-)

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


Re: todo: add apache mirror support to download page

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 15 Jul 2003, Christopher Lenz <cm...@gmx.de> wrote:

> The information provided on our download page could be moved to
> HEADER.html or README.html files in the download directory.

You'd loose one advantage of a separate download page: pointing people
to the signatures and making sure they'll pick them up from the main
server instead of the mirror.

As you are not pointing to the signatures right now either, you are
not loosing too much, off course.  8-)

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


Re: todo: add apache mirror support to download page

Posted by Christopher Lenz <cm...@gmx.de>.
Stefan Bodewig wrote:
> On Tue, 15 Jul 2003, Christopher Lenz <cm...@gmx.de> wrote:
> 
>>Can't we just use the Jakarta page?
> 
> Sure.
> 
> If you want to be a "good citizen" (I'm joking), you'd either remove
> or mirror-enable <http://jakarta.apache.org/cactus/downloads.html>,
> though.

Yeah, I meant removing our own download page, which seems like less work 
than mirror-enabling it :-)

The information provided on our download page could be moved to 
HEADER.html or README.html files in the download directory.

Vincent?

-- 
Christopher Lenz
/=/ cmlenz at gmx.de


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


Re: todo: add apache mirror support to download page

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 15 Jul 2003, Christopher Lenz <cm...@gmx.de> wrote:

> Can't we just use the Jakarta page?

Sure.

If you want to be a "good citizen" (I'm joking), you'd either remove
or mirror-enable <http://jakarta.apache.org/cactus/downloads.html>,
though.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


Re: todo: add apache mirror support to download page

Posted by Christopher Lenz <cm...@gmx.de>.
Vincent Massol wrote:

> Hi Stefan,
> 
> First thank for your mirroring guidelines! It helped me a lot :-)
> 
> If I understood correctly we have to modify our download page to insert
> some template keywords. Then we need to modify the link to our download
> page and replace it with a call to a CGI script passing our HTML
> template file as input.

Can't we just use the Jakarta page?

> Not sure I understand about the need for a change to www.apache.org?
> (I'm certainly missing something).
> 
> Your help is much appreciated!
> 
> Thanks
> -Vincent
> 
> 
>>-----Original Message-----
>>From: Stefan Bodewig [mailto:bodewig@apache.org]
>>Sent: 15 July 2003 08:35
>>To: cactus-dev@jakarta.apache.org
>>Subject: Re: todo: add apache mirror support to download page
>>
>>I'll be happy to lend a hand, if needed.
>>
>>I have commit access to the www.apache.org website which you'll need
>>if you want to create a mirror-enabled download page of your own
>>instead of reusing Jakarta's.
>>
>>Stefan

-- 
Christopher Lenz
/=/ cmlenz at gmx.de


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


RE: todo: add apache mirror support to download page

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Stefan,

First thank for your mirroring guidelines! It helped me a lot :-)

If I understood correctly we have to modify our download page to insert
some template keywords. Then we need to modify the link to our download
page and replace it with a call to a CGI script passing our HTML
template file as input.

Not sure I understand about the need for a change to www.apache.org?
(I'm certainly missing something).

Your help is much appreciated!

Thanks
-Vincent

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: 15 July 2003 08:35
> To: cactus-dev@jakarta.apache.org
> Subject: Re: todo: add apache mirror support to download page
> 
> I'll be happy to lend a hand, if needed.
> 
> I have commit access to the www.apache.org website which you'll need
> if you want to create a mirror-enabled download page of your own
> instead of reusing Jakarta's.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


Re: todo: add apache mirror support to download page

Posted by Stefan Bodewig <bo...@apache.org>.
I'll be happy to lend a hand, if needed.

I have commit access to the www.apache.org website which you'll need
if you want to create a mirror-enabled download page of your own
instead of reusing Jakarta's.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org