mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Added RewriteRule for Apache
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
987faad145
commit
7f6993be68
1 changed files with 7 additions and 0 deletions
7
INSTALL
7
INSTALL
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue