On 07/14/2015 03:00 PM, Hervé BOUTEMY wrote:
the .htaccess is not taken into account
does anybody know how to have projects.a.o use this .htaccess?

Ideally, we'd make configuration changes like this in the actual server configuration file and avoid .htaccess files if at all possible.



Regards,

Hervé

Le mardi 14 juillet 2015 18:35:48 hbout...@apache.org a écrit :
Author: hboutemy
Date: Tue Jul 14 18:35:48 2015
New Revision: 1691050

URL: http://svn.apache.org/r1691050
Log:
added htaccess to avoid some 404 from links to projects old

Added:
     comdev/projects.apache.org/site/.htaccess   (with props)

Added: comdev/projects.apache.org/site/.htaccess
URL:
http://svn.apache.org/viewvc/comdev/projects.apache.org/site/.htaccess?rev=
1691050&view=auto
===========================================================================
=== --- comdev/projects.apache.org/site/.htaccess (added)
+++ comdev/projects.apache.org/site/.htaccess Tue Jul 14 18:35:48 2015
@@ -0,0 +1,10 @@
+# feature only available in projects-old
+RedirectMatch ^/feeds/(.*)$ https://projects-old.apache.org/feeds/$1
+
+# feature that changed url in projects-new
+RedirectMatch Permanent ^/projects/(.*).html$
https://projects.apache.org/project.html?$1 +Redirect Permanent
/indexes/alpha.html https://projects.apache.org/projects.html +Redirect
Permanent /indexes/category.html
https://projects.apache.org/projects.html?category +Redirect Permanent
/indexes/language.html https://projects.apache.org/projects.html?language
+Redirect Permanent /indexes/pmc.html
https://projects.apache.org/projects.html?pmc +Redirect Permanent
/indexes/quick.html https://projects.apache.org/projects.html

Propchange: comdev/projects.apache.org/site/.htaccess
----------------------------------------------------------------------------
-- svn:eol-style = native

Propchange: comdev/projects.apache.org/site/.htaccess
----------------------------------------------------------------------------
-- svn:keywords = Author Date Id Revision



--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

Reply via email to