[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [websites/quality-kde-org] website/api.kde.org: api.kde.org: update .htaccess to reflect last change
From:       Olivier CHURLAUD <olivier () churlaud ! com>
Date:       2016-09-16 13:30:41
Message-ID: E1bktE1-0005nl-8S () code ! kde ! org
[Download RAW message or body]

Git commit 00866e7f0e18bdf831c6c59a4f8877f32f97039b by Olivier CHURLAUD.
Committed on 16/09/2016 at 13:30.
Pushed by ochurlaud into branch 'master'.

api.kde.org: update .htaccess to reflect last changes

M  +3    -1    website/api.kde.org/.htaccess

http://commits.kde.org/websites/quality-kde-org/00866e7f0e18bdf831c6c59a4f8877f32f97039b


diff --git a/website/api.kde.org/.htaccess b/website/api.kde.org/.htaccess
index 935a127..09d6630 100644
--- a/website/api.kde.org/.htaccess
+++ b/website/api.kde.org/.htaccess
@@ -9,6 +9,8 @@ RewriteRule ^frameworks-api/frameworks5-apidocs/(.*)$ /$1 [R=301,L]
 # a frameworks/ folder was added and everything moved to /
 RewriteCond %{REQUEST_URI} ^/frameworks-api/frameworks5-apidocs/(.*)$
 RewriteCond %{REQUEST_URI} !^/frameworks-api/frameworks5-apidocs/index.html$
+RewriteCond %{REQUEST_URI} !^/frameworks-api/frameworks5-apidocs/search.html$
+RewriteCond %{REQUEST_URI} !^/frameworks-api/frameworks5-apidocs/searchdata.json$
 RewriteCond %{REQUEST_URI} !^/frameworks-api/frameworks5-apidocs/?$
 # Be sure that the file or folder exists
 RewriteCond /srv/www/api.kde.org/frameworks-api/frameworks5-apidocs/frameworks/%1 -f \
[OR] @@ -17,6 +19,6 @@ RewriteRule (.*) /frameworks/%1 [R=301]
 
 # Rewrite the root / to /frameworks-apu/frameorks5-apidocs
 RewriteBase /
-RewriteCond %{REQUEST_URI} \
!^/((.*)-api|cmake|common|data|doc|ecm|img|includes|Mainpages|man|media|qch|search|searchmaps)
 +RewriteCond %{REQUEST_URI} \
!^/((.*)-api|cmake|common|data|doc|ecm|img|includes|Mainpages|man|media|qch|search/|searchmaps)
  RewriteCond %{REQUEST_URI} !^/(.*).php
 RewriteRule ^(.*)$ /frameworks-api/frameworks5-apidocs/$1 [L]


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic