phpmyadmin / website

phpMyAdmin's website generator
https://www.phpmyadmin.net/
46 stars 100 forks source link

Implement Custom Error Pages #30

Open nijel opened 8 years ago

nijel commented 8 years ago

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.

AdrianoCahete commented 3 years ago

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.

vimalMK commented 1 year ago

@nijel @williamdes Can I work on this, if its still required?

williamdes commented 1 year ago

@nijel @williamdes Can I work on this, if its still required?

Sure, do you know enough python to finish #136?

vimalMK commented 1 year ago

@williamdes Thank you and yes I can try #136 .

vimalMK commented 1 year ago

@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)