[Ohrrpgce] SVN: teeemcee/13100 download_file didn't detect an error if curl downloaded a 404 or other e

James Paige Bob at hamsterrepublic.com
Sun Sep 4 10:17:42 PDT 2022


Ah! Yes, I see that.

I have fixed it by adding the line:

*ErrorDocument 404 default*

To the following files

ohrrpgce/nightly/.htaccess
ohrrpgce/archive/.htaccess
ohrrpgce/symbols-archive/.htaccess




On Fri, Sep 2, 2022 at 11:46 PM Ralph Versteegen via Ohrrpgce <
ohrrpgce at lists.motherhamster.org> wrote:

> Unfortunately if you attempt to download a nonexistent file under
> https://hamsterrepublic.com/ohrrpgce/nightly/ or
> https://hamsterrepublic.com/ohrrpgce/archive/ (or
> http://hamsterrepublic.com/ohrrpgce/symbols-archive/) you don't get a 404
> error document, you get redirected to the wiki Main Page which downloads
> OK. This really wrecks the distribmenu's error checking. For URLs not under
> ohrrpgce/ you get a 404 instead. I looked around on the server and saw the
> default 404 rule but couldn't figure out where the ohrrpgce/ redirect is
> defined. James, could you please disable it for those directories?
>
> On Sat, 3 Sept 2022 at 15:06, subversion--- via Ohrrpgce <
> ohrrpgce at lists.motherhamster.org> wrote:
>
>> teeemcee
>> 2022-09-02 20:06:46 -0700 (Fri, 02 Sep 2022)
>> 81
>> download_file didn't detect an error if curl downloaded a 404 or other
>> error page
>> ---
>> U   wip/common.rbas
>>
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20220904/4e2f35d3/attachment.htm>


More information about the Ohrrpgce mailing list