Skip to content

Commit

Permalink
Remove Apache ErrorDocument directives on Journalist Interface
Browse files Browse the repository at this point in the history
These directives were returning incorrect values for the Journalist API. Errors should be handled in the application to ensure headers are sent. The API should return appropirate error codes, and the web interface should always redirect to the login page.
  • Loading branch information
emkll committed Jan 10, 2019
1 parent b13a75f commit bbff078
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ Header unset Etag
# Limit the max submitted size of requests.
LimitRequestBody 524288000

#Redirect error pages to ensure headers are sent
ErrorDocument 400 /notfound
ErrorDocument 401 /notfound
ErrorDocument 403 /notfound
ErrorDocument 404 /notfound
ErrorDocument 500 /error

<Directory />
Options None
AllowOverride None
Expand Down

0 comments on commit bbff078

Please sign in to comment.