https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292016-03-17T17:40:35ZRedmineRedmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=697362016-03-17T17:40:35ZShubham Chaudhary
<ul></ul><p>Holger Just wrote:</p>
<blockquote>
<p>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 <a class="external" href="http://www.redmine.org">www.redmine.org</a>. Thanks!</p>
<table>
<tr>
<td> <a class="external" href="http://redmine.org">http://redmine.org</a> </td>
<td> 403 Forbidden </td>
</tr>
</table>
</blockquote>
<p>I wanted to verify. New Delhi. India.</p>
<blockquote>
<table>
<tr>
<td> <a class="external" href="http://www.redmine.org">http://www.redmine.org</a> </td>
<td> 200 OK </td>
</tr>
<tr>
<td> <a class="external" href="https://redmine.org">https://redmine.org</a> </td>
<td> 200 OK </td>
</tr>
<tr>
<td> <a class="external" href="https://www.redmine.org">https://www.redmine.org</a> </td>
<td> 200 OK </td>
</tr>
</table>
</blockquote> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=701522016-04-05T06:28:06ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/22392">Defect #22392</a>: 403 for redmine.org without www</i> added</li></ul> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=703272016-04-13T16:22:49ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-5 priority-high2 closed" href="/issues/22489">Defect #22489</a>: Browsing to http://redmine.org/ results in HTTP 403 Forbidden error</i> added</li></ul> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=708942016-05-11T08:03:41ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/22791">Defect #22791</a>: Redmine.org => forbidden</i> added</li></ul> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=710002016-05-18T10:19:10ZJohn Leach
<ul></ul><p>when searching for the term "redmine" using the duckduckgo search engine, <a class="external" href="http://redmine.org">http://redmine.org</a> 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.</p> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=710972016-05-25T11:30:55ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/22896">Defect #22896</a>: Root Domain Provides 403 Forbidden Error</i> added</li></ul> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=757272017-01-08T00:19:49ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/24777">Defect #24777</a>: Non-www version of redmine.org does not work</i> added</li></ul> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=759672017-01-15T11:27:17ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/24834">Defect #24834</a>: Redmine website shows 403 error</i> added</li></ul> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=761052017-01-18T19:20:02ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-3 priority-lowest" href="/issues/24864">Defect #24864</a>: svn.redmine.org: "The certificate is not issued by a trusted authority"</i> added</li></ul> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=764372017-01-31T08:35:45ZAleksandar Pavic
<ul></ul><p>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:</p>
<pre>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
</pre>
<p>You just need to enable mod-rewrite.</p> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=764432017-02-01T02:23:28ZToshi MARUYAMA
<ul></ul><p>+1 forcing SSL.<br />I don't want to log-in to redmine.org on free Wi-Fi area.</p> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=787312017-05-22T12:41:44ZFernando Hartmann
<ul></ul><p>I just realized that <a class="external" href="http://redmine.org">http://redmine.org</a> is now returning <code>HTTP 302</code><br /><pre>
~$ 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
</pre></p>
<p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>+1 forcing SSL.<br />I don't want to log-in to redmine.org on free Wi-Fi area.</p>
</blockquote>
<p>Unfortunately this wasn't done, we are redirecting to HTTP, :-/</p> Redmine - Defect #22281: http://redmine.org results in a 403 Forbiddenhttps://www.redmine.org/issues/22281?journal_id=956112020-01-10T02:37:07ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Now "GET <a class="external" href="http://redmine.org">http://redmine.org</a>" returns "302 Found" instead of "403 Forbidden". In addition, HTTP is redirected to HTTPS.</p>
<table>
<tr>
<td> <a class="external" href="http://redmine.org">http://redmine.org</a> </td>
<td> 302 Found (Location: <a class="external" href="https://redmine.org/">https://redmine.org/</a>) </td>
</tr>
<tr>
<td> <a class="external" href="http://www.redmine.org">http://www.redmine.org</a> </td>
<td> 302 Found (Location: <a class="external" href="https://www.redmine.org/">https://www.redmine.org/</a>) </td>
</tr>
<tr>
<td> <a class="external" href="https://redmine.org">https://redmine.org</a> </td>
<td> 200 OK </td>
</tr>
<tr>
<td> <a class="external" href="https://www.redmine.org">https://www.redmine.org</a> </td>
<td> 200 OK </td>
</tr>
</table>