Rewrite for related/binaries.html
[openssl-web.git] / .htaccess
index f00a7cdf9d95588562592525aa2afba2ec8522cf..5d5d473669d67142706520e8948fe991371ad7f1 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,15 +1,10 @@
-##
-##  .htaccess -- Apache per-dir config
-##
-#### NOTE: .htaccess files are disabled by main apache config
 
+RewriteEngine on
 
 Options +ExecCGI +FollowSymLinks
 
-#   redirect CGIs to original site when running on mirrors
-RewriteEngine on
-RewriteCond  %{SERVER_NAME}  !=www.openssl.org
-RewriteRule  ^(.+\.cgi)$     http://www.openssl.org/$1 [R,L]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule related/(.*) /about/$1
 
 <Files *.md5>
 ForceType application/binary