Added RewriteRule for Apache

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Marcel Korpel 2012-12-23 17:20:14 +00:00 committed by Lukas Fleischer
parent 987faad145
commit 7f6993be68

View file

@ -86,4 +86,11 @@ Setup on Arch Linux:
$ cd ~/aur/web/lib/ $ cd ~/aur/web/lib/
$ cp config.inc.php.proto config.inc.php $ 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 8) Point your browser to http://aur