Hi,

Marko: Are your modifications public? If we join forces, we could probably
do a better job.

Roman: I am not familiar with mod_rewrite but I do also think that part of
the problem can be solved by using it.

Benoit.

On Fri, Nov 12, 2010 at 10:54 AM, Roman Chyla <[email protected]> wrote:

> I would try mod_rewrite, it is probably the simplest and also quick,
> no worry if some links were missed
>
>
> http://drupalcode.org/viewvc/drupal/drupal/.htaccess?revision=1.110&view=markup
>
> Cheers,
>
>  roman
>
> On Fri, Nov 12, 2010 at 3:52 PM, Benoit Thiell <[email protected]>
> wrote:
> > 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/
> >
>



-- 
Benoit Thiell
Software developer
The SAO/NASA Astrophysics Data System
http://adswww.harvard.edu/

Reply via email to