Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make type URLs with colons in them work with the $COLON replacer
Related to  #698
  • Loading branch information
zoffixznet committed Jul 14, 2016
1 parent 9ef38ce commit 12ef0a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions html/.htaccess
Expand Up @@ -6,5 +6,7 @@ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=permanent,L]
RewriteCond %{HTTP_HOST} ^doc.perl6.org [NC]
RewriteRule ^(.*)$ https://docs.perl6.org/$1 [R=permanent,L]

RewriteRule ^type/(.*?)::(.*) /type/$1\$COLON\$COLON$2 [N]

Redirect 301 /language/5to6 https://docs.perl6.org/language/5to6-nutshell
ErrorDocument 404 /404.html

0 comments on commit 12ef0a5

Please sign in to comment.