Re: Website

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Website
Date: 2006-01-19 12:16:57
Message-ID: 43CF8339.9090006@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Andreas Pflug [mailto:pgadmin(at)pse-consulting(dot)de]
>>Sent: 19 January 2006 09:57
>>To: Dave Page
>>Cc: pgadmin-hackers(at)postgresql(dot)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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2006-01-19 12:31:50 SVN Commit by andreas: r4931 - trunk/www/images/screenshots
Previous Message Dave Page 2006-01-19 10:08:11 Re: Website