[aur-dev] [PATCH] Added RewriteRule for Apache
Marcel Korpel
marcel.lists at gmail.com
Fri Dec 7 16:54:48 EST 2012
---
INSTALL | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/INSTALL b/INSTALL
index d682eda..190bc0d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -89,4 +89,10 @@ 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
+ RewriteRule ^(?!index\.php/.*)(.*)$ /index.php/$1
+
8) Point your browser to http://aur
--
1.8.0.1
More information about the aur-dev
mailing list