From 7f6993be6867cf7c54e1f6c0f5f29251c2043818 Mon Sep 17 00:00:00 2001 From: Marcel Korpel Date: Sun, 23 Dec 2012 17:20:14 +0000 Subject: Added RewriteRule for Apache Signed-off-by: Lukas Fleischer --- INSTALL | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'INSTALL') 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 -- cgit v1.2.3-70-g09d2