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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > -----Original Message----- > From: Andreas Pflug [mailto > 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 |
| ||||
| Dave Page wrote: > > > >>-----Original Message----- >>From: Andreas Pflug [mailto >>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 |