summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.lists@gmail.com>2012-12-23 18:20:14 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2013-01-19 12:20:25 +0100
commit7f6993be6867cf7c54e1f6c0f5f29251c2043818 (patch)
treead3dd6b154f150d48e6f8c6bee07fe04ae2e2581
parent987faad145ba7d3fd3056fa9343d3a5f4c70dff6 (diff)
downloadaur-7f6993be6867cf7c54e1f6c0f5f29251c2043818.tar.gz
aur-7f6993be6867cf7c54e1f6c0f5f29251c2043818.tar.xz
Added RewriteRule for Apache
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--INSTALL7
1 files changed, 7 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 76df42b9..e8bf797d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -86,4 +86,11 @@ Setup on Arch Linux:
$ cd ~/aur/web/lib/
$ cp config.inc.php.proto config.inc.php
+ In case you set $USE_VIRTUAL_URLS to true (default nowadays) you should add
+ a rewrite rule. For Apache, add this ~/aur/web/html/.htaccess:
+
+ RewriteEngine on
+ RewriteCond %{REQUEST_URI} !^/index.php
+ RewriteRule ^(.*)$ /index.php/$1
+
8) Point your browser to http://aur