Unix Technical Forum

Re: Website

This is a discussion on Re: Website within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> > -----Original Message----- > From: Andreas Pflug [mailto gadmin@pse-consulting.de] > Sent: 19 January 2006 09:57 > To: Dave Page ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:53 PM
Dave Page
 
Posts: n/a
Default Re: Website



> -----Original Message-----
> From: Andreas Pflug [mailtogadmin@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.

Regards, Dave

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 05:53 PM
Andreas Pflug
 
Posts: n/a
Default Re: Website

Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Andreas Pflug [mailtogadmin@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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:48 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com