owncloud: make .htaccess available
This commit is contained in:
parent
7494bd389e
commit
3ed3977166
@ -352,6 +352,10 @@ rec {
|
||||
RewriteEngine On
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
|
||||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
|
||||
|
||||
<Directory ${pkgs.owncloud}>
|
||||
${builtins.readFile "${pkgs.owncloud}/.htaccess"}
|
||||
</Directory>
|
||||
'';
|
||||
|
||||
globalEnvVars = [
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out
|
||||
cp -r * $out
|
||||
find . -maxdepth 1 -execdir cp -r '{}' $out \;
|
||||
|
||||
substituteInPlace $out/lib/base.php \
|
||||
--replace 'OC_Config::$object = new \OC\Config(self::$configDir);' \
|
||||
|
Loading…
Reference in New Issue
Block a user