From: John P. R. <ro...@cs...> - 2024-04-29 17:01:22
|
Hi Stefan/Ralf: I must have missed this email originally (hmm, given the timestamp I may not have received it yet). I read it on the ML archive. In message <202...@ru...>, Ralf Schlatterbeck writes: >On Mon, Apr 29, 2024 at 11:31:43AM +0000, Schmelz, Stefan wrote: >[...] >> And this ist he HTML response in My browser: >> Error response >> Error code: 404 >> Message: /issue2/?@ok_message=Der%20Eintrag%20%22msg3%22%20wurde%20erstellt%0ADer%20Eintrag%20%22issue2%22%20wurde%20erstellt&@template=item. >> Error code explanation: 404 - Nothing matches the given URI. I'm sorry you are running into problems. This is an odd one. >Are you running this with the standalone server or behind a web server >like apache or nginx? That is my first question as well. If the URL is really: .../issue2/?... that's wrong. It should be: .../issue2?... (note no '/' before the query part). I can confirm that: https://myhost/demo/issue157 displays issue 157 while: https://myhost/demo/issue157/ reports a 404. So I can reproduce your results, but not your cause. >Let us know if you make progress on this! I agree. It looks like something is messing up the URL. URL's that point to files (e.g. /file23) use a trailing '/' and optional name component to trigger a download of the file contents. E.G. /file23/myfile would download the contents of file23 and suggest the name "myfile" in the file save dialog. '/file23/' would start the download with the file name "download" suggested in the dialog. However other object types don't support the trailing '/' in the URL and return 404. If Roundup is really returning the trailing /, it's a bug that I have never seen. To help us help you can you supply: Version of Roundup (roundup-admin -v) Version of Python (python -V) Operating system How you installed Roundup ('pip install roundup', download the tarball/release and ran setup.py ...) How you are accessing Roundup. Via roundup-server? WSGI with gunicorn etc. Is there a cache server or reverse proxy involved? Thanks and sorry your having a tough time here. -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. |