Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Update TPL access. Should be written at install time, along with the …
Browse files Browse the repository at this point in the history
…default charset.
  • Loading branch information
cdujeu committed May 2, 2014
1 parent 868ffbc commit ff94d58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/plugins/boot.conf/htaccess.tpl
Expand Up @@ -5,15 +5,15 @@
# and that you want the webDAV shares to be accessible via
# http://yourdomain/shares/repository_id/
RewriteEngine on
RewriteBase /${APPLICATION_ROOT}
RewriteBase ${APPLICATION_ROOT}
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^shares ./dav.php [L]
RewriteRule ^api ./rest.php [L]
RewriteRule ^user ./index.php?get_action=user_access_point [L]
RewriteCond %{REQUEST_URI} !^/${APPLICATION_ROOT}index
RewriteCond %{REQUEST_URI} !^/${APPLICATION_ROOT}plugins
RewriteCond %{REQUEST_URI} ^/${APPLICATION_ROOT}dashboard|^/${APPLICATION_ROOT}settings|^/${APPLICATION_ROOT}ws-
RewriteCond %{REQUEST_URI} !^${APPLICATION_ROOT}/index
RewriteCond %{REQUEST_URI} !^${APPLICATION_ROOT}/plugins
RewriteCond %{REQUEST_URI} ^${APPLICATION_ROOT}/dashboard|^${APPLICATION_ROOT}/settings|^${APPLICATION_ROOT}/ws-
RewriteRule (.*) index.php [L]

#Following lines seem to be necessary if PHP is working
Expand Down

0 comments on commit ff94d58

Please sign in to comment.