Redirecting Problems


#1

Hello, I set up ownCloud on on my server with ddns with apache2 and I managed to get the certificate working, however I have a redirect problem now. During the configuration of certbot I set it to always redierct to HTTPS. My domain name is removed.ddns.net and when I put exactly that, it redirects to
https://removed.ddns.net/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/
Even https://removed.ddns.net/owncloud redirects to the above

How do I fix this? In my apache2//sites-available/000-default-le-ssl.conf:

Edit: I don’t know why the formatting on here is odd when I paste the code so I put it on pastebin: http://pastebin.com/XxDq1RFq

Before I had the certificate, I had Redirect permanent to https://removed.ddns.net/owncloud but have since removed that because I read in another issue that certbot does that automatically


#2

Could you post the other Apache configuration file(s) as well? The one you’ve posted now is just for Let’s Encrypt.

Also, ownCloud puts a .htaccess file in its document root. This contains some redirect stuff too.

I’m getting a login page when I surf to http://deusarchives.ddns.net/owncloud? Did you fix it by any chance?


#3

I asked someone else to check what went wrong by having them go to my site and it appeared to work for them, and now it’s working for you. It appears that I did fix it already and I just had to clear my cache.

Thank you for the prompt reply however! This may be off topic from letsencrypt, but what prevents the enduser from this kind of issue if they don’t know to clear their cache?


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.