Defect #22281

http://redmine.org results in a 403 Forbidden

Added by Holger Just over 1 year ago. Updated 7 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Website (redmine.org)
Target version:-
Resolution: Affected version:

Description

It seems that during a change of the webserver configuration for redmine.org, the non-www virtual host has gone missing. It would be great of you could re-introduce this vhost or at least add a redirect to www.redmine.org. Thanks!

http://redmine.org 403 Forbidden
http://www.redmine.org 200 OK
https://redmine.org 200 OK
https://www.redmine.org 200 OK

Related issues

Related to Redmine - Defect #24864: svn.redmine.org: "The certificate is not issued by a trus... New
Duplicated by Redmine - Defect #22392: 403 for redmine.org without www Closed
Duplicated by Redmine - Defect #22489: Browsing to http://redmine.org/ results in HTTP 403 Forbi... Closed
Duplicated by Redmine - Defect #22791: Redmine.org => forbidden Closed
Duplicated by Redmine - Defect #22896: Root Domain Provides 403 Forbidden Error Closed
Duplicated by Redmine - Defect #24777: Non-www version of redmine.org does not work Closed
Duplicated by Redmine - Defect #24834: Redmine website shows 403 error Closed

History

#1 Updated by Shubham Chaudhary over 1 year ago

Holger Just wrote:

It seems that during a change of the webserver configuration for redmine.org, the non-www virtual host has gone missing. It would be great of you could re-introduce this vhost or at least add a redirect to www.redmine.org. Thanks!

http://redmine.org 403 Forbidden

I wanted to verify. New Delhi. India.

http://www.redmine.org 200 OK
https://redmine.org 200 OK
https://www.redmine.org 200 OK

#2 Updated by Go MAEDA over 1 year ago

  • Duplicated by Defect #22392: 403 for redmine.org without www added

#3 Updated by Toshi MARUYAMA over 1 year ago

  • Duplicated by Defect #22489: Browsing to http://redmine.org/ results in HTTP 403 Forbidden error added

#4 Updated by Toshi MARUYAMA over 1 year ago

#5 Updated by John Leach over 1 year ago

when searching for the term "redmine" using the duckduckgo search engine, http://redmine.org is listed as the first result as the "official site" (which then goes to the 403 forbidden site). So this is quite a bad experience for some people! Arguably ddg should fix this, but presumably they scraped it from somewhere else, so I guess the url is out there.

#6 Updated by Toshi MARUYAMA over 1 year ago

  • Duplicated by Defect #22896: Root Domain Provides 403 Forbidden Error added

#7 Updated by Go MAEDA 11 months ago

  • Duplicated by Defect #24777: Non-www version of redmine.org does not work added

#8 Updated by Toshi MARUYAMA 11 months ago

  • Duplicated by Defect #24834: Redmine website shows 403 error added

#9 Updated by Toshi MARUYAMA 11 months ago

  • Related to Defect #24864: svn.redmine.org: "The certificate is not issued by a trusted authority" added

#10 Updated by Aleksandar Pavic visit redminecookbook.com 11 months ago

Well since redmine.org is served by apache here is Apache's .htaccess file that I use which is SEO friendly and works in every case, redirecting users from non-www to www, and forcing SSL:


<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTP_HOST} !^www\.
 RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
</IfModule>

You just need to enable mod-rewrite.

#11 Updated by Toshi MARUYAMA 11 months ago

+1 forcing SSL.
I don't want to log-in to redmine.org on free Wi-Fi area.

#12 Updated by Fernando Hartmann 7 months ago

I just realized that http://redmine.org is now returning HTTP 302

~$ curl -v http://redmine.org
* Rebuilt URL to: http://redmine.org/
*   Trying 46.4.36.71...
* Connected to redmine.org (46.4.36.71) port 80 (#0)
> GET / HTTP/1.1
> Host: redmine.org
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Mon, 22 May 2017 12:39:15 GMT
< Server: Apache
< Location: http://www.redmine.org/
< Vary: Accept-Encoding
< Content-Length: 207
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://www.redmine.org/">here</a>.</p>
</body></html>
* Connection #0 to host redmine.org left intact

Toshi MARUYAMA wrote:

+1 forcing SSL.
I don't want to log-in to redmine.org on free Wi-Fi area.

Unfortunately this wasn't done, we are redirecting to HTTP, :-/

Also available in: Atom PDF