logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: subdomain does not redirect to the direction I want
Author
tchokapix



Joined: 14 Feb 2016
Posts: 3
Location: France

PostPosted: Sun 14 Feb '16 15:43    Post subject: subdomain does not redirect to the direction I want Reply with quote

I posted a question on the owncloud forum but I was redirected. It is why, I am posting.
The initial post on the owncloud forum.

version of apache: 2.4
operating system : debian linux 8.0 (jessie)

error.log:
Quote:
[Sat Feb 13 19:31:37.464514 2016] [authz_core:error] [pid 31683] [client 62.210.193.179:37558] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Sat Feb 13 19:31:42.626606 2016] [authz_core:error] [pid 31681] [client 62.210.193.179:37562] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Sat Feb 13 23:54:04.999652 2016] [:error] [pid 954] [client 5.51.17.164:33594] script '/var/www/debian-economist.eu/public_html/whoami.php' not found or unable to stat

Normally, I solved this problem thanks to this topic.

access log on apaste.

I have created a CNAME register for the subdomain "cloud" in the dns "debian-economist.eu".
I pasted my conf on apaste as well.

The issue:
http://cloud.debian-economist.eu does not redirect to the https version which does not redirect to the cloud neither.
However, https://www.debian-economist.eu is going to the cloud as the IP adress.
What I would like to do is that the http://cloud.debian-economist.eu redirects to the https which redirects to the cloud. While https://www.debian-economist.eu is just the secure version of the website.

My goal is to have both a cloud and a website on the server.
On http://www.debian-economist.eu/wp, I have my blog.

My problem is I can not find out what I miss.
Thanks to have accepted me on your forum.
Back to top


Reply to topic   Topic: subdomain does not redirect to the direction I want View previous topic :: View next topic
Post new topic   Forum Index -> Apache