Hi, we have a need to use a base URL with a path for Invenio (e.g. http://adsabs.cfa.harvard.edu/invenio). Here is what I came up with:
* modify the create-apache-conf directive of inveniocfg. * hunt down all relative URLs and modify them to absolute URLs, which typically are: CFG_SITE(_SECURE)_URL + path. I probably did not get them all. My question is whether this is the right way to achieve this or if there's a nicer solution that would allow to keep relative URLs in the code and therefore limit the amount of work and risk of breaking things. Patches are attached. They work for most of the URLs that I could find. You'll need to rebuild Atlantis to insert attached files with a correct URL. I still have one weird problem with the URL: http://localhost/invenio/help ( http://localhost/invenio/help/ works). Cheers. -- Benoit Thiell Software developer The SAO/NASA Astrophysics Data System http://adswww.harvard.edu/
0001-inveniocfg-Slash-in-URL.patch
Description: Binary data
0002-Move-relative-URLs-to-absolute-URLs.patch
Description: Binary data

