Miguel & Tim wrote: >>I also suspect that there may be a cleaner way to do this using >>straightforward configuration in the apache web server, but this >>need further investigation. >> > ditto above.
Tim, It apache one can have 'rewrite rules' that take a virtual directory and move it to someplace else. For example, on my web server I would like to have a directory called: http://www.jmol.org/pdb/<pdbID>.pdb http://www.jmol.org/pdb/<pdbID>.cif I would like to map: http://www.jmol.org/pdb/1CRN.pdb into http://www.rcsb.org/pdb/cgi/export.cgi/1CRN.pdb.gz? \ format=PDB&pdbId=1CRN&compression=gz I am quite sure that one can use Apache rewrite rules to do this. Q: Is this something that you can investigate? If so, I think this is the path that I would follow: 1. use the rewrite rules to remap a directory on the local web server: /foo/ -> /some/other/place/ 2. extend the rewrite rules to play with the filename extensions /foo/xyz/caffeine -> /some/other/place/caffeine.xyz Now comes the tricky part 3. figure out how to proxy to another web server /foo/xyz/caffeine -> http://jmol.sourceforge.net/demo/atoms/caffeine.xyz Miguel ----- Open Source Molecular Visualization www.jmol.org [EMAIL PROTECTED] ----- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
