I have two similar servers behaving differently. This is the staging server ...

You don't have permission to access /substance/wsds/7291/ on this server.

The production server is fine running Ubuntu 14.04 and Apache 2.2. The difference is that I have just upgraded staging to Ubuntu 16.04 and Apache 2.4.

The new problem resulting from the upgrade was that the Apache redirect from http on port 80 to https on port 443 was failing occasionally.

That occasion was in the Django Admin when clicking (View on site)

The fix is to adjust get_absolute_url() so it always specifies https

Hope this helps someone.

Cheers

Mike






--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a91191a3-b4e4-d18d-eaf2-c99ac462ceaa%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

Reply via email to