Thread: Error 403 on mailing list archive

Error 403 on mailing list archive

From
Guillaume Lelarge
Date:
Hi all,

http://www.pgadmin.org/archives/pgadmin-hackers/ returns a 403 error
(Access Forbidden).

Not sure if it's there since a long time, a friend just sent me this.
So, I'm not sure about what we should do : only link to the
postgresql.org archive, or put back the archive in pgadmin.org...

Ideas?


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Re: Error 403 on mailing list archive

From
"Dave Page"
Date:
On Mon, Nov 3, 2008 at 9:54 AM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Hi all,
>
> http://www.pgadmin.org/archives/pgadmin-hackers/ returns a 403 error
> (Access Forbidden).

Yeah, it looks like Alvaro has changed the format of the upstream
archives enough that we can't reformat them as we were.

> Not sure if it's there since a long time, a friend just sent me this.
> So, I'm not sure about what we should do : only link to the
> postgresql.org archive, or put back the archive in pgadmin.org...

I think we should probably just point things to
archives.postgresql.org. Wanna pull out the old code and fixup the
links?

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

Re: Error 403 on mailing list archive

From
"Dave Page"
Date:
On Tue, Nov 4, 2008 at 9:17 AM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Dave Page a écrit :
>> On Mon, Nov 3, 2008 at 9:54 AM, Guillaume Lelarge
>> <guillaume@lelarge.info> wrote:
>>>
>>> http://www.pgadmin.org/archives/pgadmin-hackers/ returns a 403 error
>>> (Access Forbidden).
>>
>> Yeah, it looks like Alvaro has changed the format of the upstream
>> archives enough that we can't reformat them as we were.
>>
>>> Not sure if it's there since a long time, a friend just sent me this.
>>> So, I'm not sure about what we should do : only link to the
>>> postgresql.org archive, or put back the archive in pgadmin.org...
>>
>> I think we should probably just point things to
>> archives.postgresql.org. Wanna pull out the old code and fixup the
>> links?
>>
>
> You mean something like this ? On the patch, I delete access to
> /archives/pgadmin-hackers/index.php and
> /archives/pgadmin-support/index.php, which means 4 modified files.

Yeah, that looks reasonable.

> Or is there more to do ?

There's a rewrite rule in .htaccess which should also be updated to
ensure any links into our old copy of the archives still work, and
include/archives.php can probably be removed as well.

Thanks!

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

Re: Error 403 on mailing list archive

From
Guillaume Lelarge
Date:
Dave Page a écrit :
> On Mon, Nov 3, 2008 at 9:54 AM, Guillaume Lelarge
> <guillaume@lelarge.info> wrote:
>>
>> http://www.pgadmin.org/archives/pgadmin-hackers/ returns a 403 error
>> (Access Forbidden).
>
> Yeah, it looks like Alvaro has changed the format of the upstream
> archives enough that we can't reformat them as we were.
>
>> Not sure if it's there since a long time, a friend just sent me this.
>> So, I'm not sure about what we should do : only link to the
>> postgresql.org archive, or put back the archive in pgadmin.org...
>
> I think we should probably just point things to
> archives.postgresql.org. Wanna pull out the old code and fixup the
> links?
>

You mean something like this ? On the patch, I delete access to
/archives/pgadmin-hackers/index.php and
/archives/pgadmin-support/index.php, which means 4 modified files.

Or is there more to do ?


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com
Index: development/list.php
===================================================================
--- development/list.php    (révision 7494)
+++ development/list.php    (copie de travail)
@@ -9,7 +9,7 @@

 <p>' . sprintf(_("The pgadmin-hackers mailing list is intended for developers who wish to contribute to pgAdmin
project.You are more than welcome to subscribe, but please remember to use <a href=\"%s\">pgadmin-support</a> list for
enduser support issues. To subscribe to the mailing list, send an email to <a href=\"%s\">%s</a> with the word
'subscribe',without quotes, as the body of message. To unsubscribe, send the word 'unsubscribe'."),
"../support/list.php","mailto:pgadmin-hackers-request@postgresql.org", "pgadmin-hackers-request@postgresql.org") .
'</p>

-<p>' . sprintf(_("Messages sent to the list may be browsed <a href=\"%s\">here</a> and are archived at <a
href=\"%s\">PostgreSQL</a>and  <a href=\"%s\">mail-archive.com</a>."), "/archives/pgadmin-hackers/index.php",
"http://archives.postgresql.org/pgadmin-hackers/","http://www.mail-archive.com/pgadmin-hackers@postgresql.org") . '</p> 
+<p>' . sprintf(_("Messages sent to the list are archived at <a href=\"%s\">PostgreSQL</a> and  <a
href=\"%s\">mail-archive.com</a>."),"http://archives.postgresql.org/pgadmin-hackers/",
"http://www.mail-archive.com/pgadmin-hackers@postgresql.org"). '</p> 

 ';

Index: development/menu.php
===================================================================
--- development/menu.php    (révision 7494)
+++ development/menu.php    (copie de travail)
@@ -7,7 +7,7 @@
 <div' . www_current_menu_page("svn.php") . '><a href="svn.php">› ' . _("SVN access") . '</a></div>
 <div' . www_current_menu_page("http://svn.pgadmin.org/") . '><a href="http://svn.pgadmin.org/">› ' . _("SVN
browser"). '</a></div> 
 <div' . www_current_menu_page("list.php") . '><a href="list.php">› ' . _("Mailing list") . '</a></div>
-<div' . www_current_menu_page("/archives/pgadmin-hackers/index.php") . '><a
href="/archives/pgadmin-hackers/index.php">›' . _("List archives") . '</a></div> 
+<div' . www_current_menu_page("http://archives.postgresql.org/pgadmin-hackers/") . '><a
href="http://archives.postgresql.org/pgadmin-hackers/">›' . _("List archives") . '</a></div> 
 <div' . www_current_menu_page("team.php") . '><a href="team.php">› ' . _("Team") . '</a></div>
 <div' . www_current_menu_page("todo.php") . '><a href="todo.php">› ' . _("TODO list") . '</a></div>
 <div' . www_current_menu_page("changelog.php") . '><a href="changelog.php">› ' . _("Change log") . '</a></div>
Index: support/list.php
===================================================================
--- support/list.php    (révision 7494)
+++ support/list.php    (copie de travail)
@@ -19,7 +19,7 @@
   <li>' . _("Steps required to reproduce the problem. Please include a simple scheme with optional data if required.
Thismay be sent privately <b>upon request from a developer</b> if you are concerned about posting sample code or data
toa public mailing list.") . '<br /> </li> 
 </ul>

-<p>' . sprintf(_("Messages sent to the list may be browsed <a href=\"%s\">here</a> and are archived at <a
href=\"%s\">PostgreSQL</a>and  <a href=\"%s\">mail-archive.com</a>."), "/archives/pgadmin-support/index.php",
"http://archives.postgresql.org/pgadmin-support/","http://www.mail-archive.com/pgadmin-support@postgresql.org") . '</p> 
+<p>' . sprintf(_("Messages sent to the list are archived at <a href=\"%s\">PostgreSQL</a> and  <a
href=\"%s\">mail-archive.com</a>."),"http://archives.postgresql.org/pgadmin-support/",
"http://www.mail-archive.com/pgadmin-support@postgresql.org"). '</p> 

 <p>' . _("Please <b>do not</b> send an email directly to one of the programmers; they might miss it, or even be the
wrongperson at all. Using the mailing list guarantees that your request isn't lost and will be answered in a timely
fashion."). '</p> 
 ';
Index: support/menu.php
===================================================================
--- support/menu.php    (révision 7494)
+++ support/menu.php    (copie de travail)
@@ -6,7 +6,9 @@
 <div' . www_current_menu_page("index.php") . '><a href="index.php">› ' . _("Introduction") . '</a></div>
 <div' . www_current_menu_page("faq.php") . '><a href="faq.php">› ' . _("FAQ") . '</a></div>
 <div' . www_current_menu_page("list.php") . '><a href="list.php">› ' . _("Mailing list") . '</a></div>
-<div' . www_current_menu_page("/archives/pgadmin-support/index.php") . '><a
href="/archives/pgadmin-support/index.php">›' . _("List archives") . '</a></div> 
+<div' .
+www_current_menu_page("http://archives.postgresql.org/pgadmin-support/") .
+'><a href="http://archives.postgresql.org/pgadmin-support/">› ' . _("List archives") . '</a></div>
 <div' . www_current_menu_page("issues.php") . '><a href="issues.php">› ' . _("Known issues") . '</a></div>
 ';


Re: Error 403 on mailing list archive

From
Guillaume Lelarge
Date:
Dave Page a écrit :
> On Tue, Nov 4, 2008 at 9:17 AM, Guillaume Lelarge
> <guillaume@lelarge.info> wrote:
>> Dave Page a écrit :
>>> On Mon, Nov 3, 2008 at 9:54 AM, Guillaume Lelarge
>>> <guillaume@lelarge.info> wrote:
>>>> http://www.pgadmin.org/archives/pgadmin-hackers/ returns a 403 error
>>>> (Access Forbidden).
>>> Yeah, it looks like Alvaro has changed the format of the upstream
>>> archives enough that we can't reformat them as we were.
>>>
>>>> Not sure if it's there since a long time, a friend just sent me this.
>>>> So, I'm not sure about what we should do : only link to the
>>>> postgresql.org archive, or put back the archive in pgadmin.org...
>>> I think we should probably just point things to
>>> archives.postgresql.org. Wanna pull out the old code and fixup the
>>> links?
>>>
>> You mean something like this ? On the patch, I delete access to
>> /archives/pgadmin-hackers/index.php and
>> /archives/pgadmin-support/index.php, which means 4 modified files.
>
> Yeah, that looks reasonable.
>
>> Or is there more to do ?
>
> There's a rewrite rule in .htaccess which should also be updated to
> ensure any links into our old copy of the archives still work, and
> include/archives.php can probably be removed as well.
>

Done. Thanks :)


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com