summaryrefslogtreecommitdiffstats
path: root/UPGRADING
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-08-22 08:35:18 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-08-22 08:35:18 +0200
commite411ef1d809a98d14b494afdfc47b07962770684 (patch)
treeb80da096f59b97ebff5bfcd63caeaa187739a596 /UPGRADING
parent114edd9ff82b3860e2ca4b68589d661ec6d5fe39 (diff)
parent53a31865f41db7315dc5c99e1b100f397ef80b1a (diff)
downloadaurweb-e411ef1d809a98d14b494afdfc47b07962770684.tar.xz
Merge branch 'maint'
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING4
1 files changed, 2 insertions, 2 deletions
diff --git a/UPGRADING b/UPGRADING
index dad4adf..c0866e5 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -28,13 +28,13 @@ container or optionally create a ".htaccess" file in the upload directory):
----
RewriteEngine on
-RewriteRule ^/packages/([^/]{1,2})([^/]*/(PKGBUILD|.*\.tar\.gz|))$ /packages/$1/$1$2
+RewriteRule ^/packages/([^/]{1,2})([^/]*/(PKGBUILD|[^/]*\.tar\.gz|))$ /packages/$1/$1$2
----
The following equivalent rule can be used for lighttpd setups:
----
-url.rewrite-once = ( "^/packages/([^/]{1,2})([^/]*/(PKGBUILD|.*\.tar\.gz|))$" => "/packages/$1/$1$2" )
+url.rewrite-once = ( "^/packages/([^/]{1,2})([^/]*/(PKGBUILD|[^/]*\.tar\.gz|))$" => "/packages/$1/$1$2" )
----
If you use a non-standard URL_DIR, slight modifications might be necessary.