website
website copied to clipboard
Implement Custom Error Pages
that will be used instead of nginx default error pages: https://www.phpmyadmin.net/static/A
Note: The custom error page is already there, it just needs to be used for static files as well.
It's already handling, just throwing an error for some reason:
https://github.com/phpmyadmin/website/blob/35a9f3f8c2f0eaf8b868dca505af2040f5b342d9/pmaweb/urls.py#L41
https://github.com/phpmyadmin/website/blob/35a9f3f8c2f0eaf8b868dca505af2040f5b342d9/pmaweb/views.py#L86-L92
Trying to fix on my PR, but since I never had worked with Python for web before, I may not fix it.
Yep, I read all the issues.
@nijel @williamdes Can I work on this, if its still required?
@nijel @williamdes Can I work on this, if its still required?
Sure, do you know enough python to finish #136?
@williamdes Thank you and yes I can try #136 .
@williamdes can you please confirm/share what the production settings.py looks like?
the path will be: phpmyadmin-website\pmaweb\settings.py
Important changes in the settings.py which is also in PR
DEBUG = FALSE COMPRESS_ENABLED = os.environ.get('COMPRESS_ENABLED', False)