[aur-dev] [PATCH] Added RewriteRule for Apache
marcel.lists at gmail.com
marcel.lists at gmail.com
Sun Dec 23 12:20:14 EST 2012
From: Marcel Korpel <marcel.lists at gmail.com>
---
INSTALL | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/INSTALL b/INSTALL
index 76df42b..e8bf797 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
--
1.8.0.2
More information about the aur-dev
mailing list