Re: Website - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: Website
Date
Msg-id 43CF8339.9090006@pse-consulting.de
Whole thread Raw
In response to Re: Website  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-hackers
Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
>>Sent: 19 January 2006 09:57
>>To: Dave Page
>>Cc: pgadmin-hackers@postgresql.org
>>Subject: Re: [pgadmin-hackers] Website
>>
>>Dave,
>>
>>there are quite a lot of absolute paths, which makes the website
>>on-runnable on my server (localhost/pgadmin3). Why not just relative
>>paths throughout?
>
>
> It was that way originally, but I ran into some issues with
> $_SERVER['DOCUMENT_ROOT'] being incorrect (well, not being what I
> wanted). I forget what they were exactly now but the simple choice at
> the time was to not use relative paths and I later ended up changing
> them all for consistency.
>
> Feel free to figure out a fix if you like, or I can give you write
> access to wwwdevel or a new dedicated vhost on developer.pgadmin.org if
> you prefer.

Problem is usage of DOCUMENT_ROOT. My localhost/pgadmin3 is not a doc
root, but an alias. Seems the easiest fix is to add another virtual host
on my machine.

Regards,
Andreas

pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Website
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by andreas: r4931 - trunk/www/images/screenshots