In the Apache2 access.log and error.log I see no errors, and all the pages returned code 200.
Can somebody please help me debugging this strange behavior?
Do you know which method is responsible to respond to the following two paths?
To map a URL to the code, look in the “pages” folder for the RESTful object, here “articles”. The index.php there indicates that all of the article operations (including viewFile and download) are resolved by the ArticleHandler:
Looking at the ArticleHandler, you’ll find a method for each of these operations:
The first parameter, as you note, is the $articleId. The second is the $galleyId.