www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-7411) Enable mod_rewrite for commons.apache.org
Date Wed, 19 Mar 2014 10:22:47 GMT

    [ https://issues.apache.org/jira/browse/INFRA-7411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940368#comment-13940368
] 

Emmanuel Bourg commented on INFRA-7411:
---------------------------------------

I did add a rewrite rule in .htaccess but it didn't work.

I changed this file:

https://svn.apache.org/repos/infra/websites/production/commons/content/.htaccess

and added this rule:

RewriteEngine on
RewriteRule ^/nabla/(.*)  /sandbox/commons-nabla/$1

But the redirection doesn't work, I get a 404 error on:

http://commons.apache.org/nabla/index.html


> Enable mod_rewrite for commons.apache.org
> -----------------------------------------
>
>                 Key: INFRA-7411
>                 URL: https://issues.apache.org/jira/browse/INFRA-7411
>             Project: Infrastructure
>          Issue Type: Wish
>          Components: HTTP Server
>            Reporter: Emmanuel Bourg
>            Priority: Minor
>
> Hi,
> Could you please enable mod_rewrite for commons.apache.org? We would like to redirect
transparently some of our URLs (see COMMONSSITE-75). Currently we use the Redirect directive
to redirect paths like /foo to /proper/commons-foo. Using a RewriteRule we could preserve
the short /foo URLs without moving the directories and changing our deployment scripts.
> Thank you



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message