redbrick / static-site

Statically generated site for Redbrick
https://redbrick.dcu.ie
GNU General Public License v3.0
15 stars 21 forks source link

Display 404 page without redirecting to redbrick.dcu.ie/404 #275

Open CSmartt opened 6 years ago

CSmartt commented 6 years ago

Expected behaviour

Non-functioning URLs are not redirected to the dedicated 404 page.

Actual behaviour

404 errors lead to the user being redirected to redbrick.dcu.ie/404

Screenshot of the problem (if applicable)

Checklist

I confirm that before I submitted this issue I did the following:

butlerx commented 6 years ago

this is an error in apache

CSmartt commented 6 years ago

@butlerx Could you elaborate? Apache ErrorDocument functionality should support doing this.

butlerx commented 6 years ago

I mean its an error in apache configuration. the issue is that Apache is configured to redirect to the redbrick.dcu.ie/404 page rather than server the 404 error page

d-fens commented 6 years ago

Is this still an issue?

CSmartt commented 6 years ago

See:

https://www.redbrick.dcu.ie/blah https://www.redbrick.dcu.ie/blah This is no longer an issue, the 404 page is served correctly.

On Fri, 26 Jan 2018 at 13:20 d-fens notifications@github.com wrote:

Is this still an issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/redbrick/static-site/issues/275#issuecomment-360782626, or mute the thread https://github.com/notifications/unsubscribe-auth/AI3B7Q2RA6lgyWgn6qqMe6nTlk0mwL2dks5tOdEigaJpZM4Qijxk .

butlerx commented 6 years ago

the error was in blah.redbrick.dcu.ie not redbrick.dcu.ie/blah