On Tue, 15 Jul 2003, Vincent Massol <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
