Merge pull request #3739 from fti7/master

Serve robots.txt if the RewriteBase is configured
This commit is contained in:
Lukas Reschke 2017-03-11 09:56:38 +01:00 committed by GitHub
commit 801b600ec3
1 changed files with 1 additions and 0 deletions

View File

@ -451,6 +451,7 @@ class Setup {
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/status.php";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/robots.txt";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/updater/";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs-provider/";
$content .= "\n RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*";