24 lines
663 B
Plaintext
24 lines
663 B
Plaintext
<VirtualHost *:80>
|
|
servername wallabag.domain.com
|
|
ServerAdmin admin@domain.com
|
|
|
|
DocumentRoot /usr/share/wallabag/web/
|
|
Protocols h2c http/1.1
|
|
|
|
<directory /usr/share/wallabag/web/>
|
|
Options +SymLinksIfOwnerMatch
|
|
Options -MultiViews
|
|
AllowOverride none
|
|
Require all granted
|
|
RewriteEngine On
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^(.*)$ app.php [QSA,L]
|
|
</directory>
|
|
<Directory /usr/share/wallabag/web/bundles>
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine Off
|
|
</IfModule>
|
|
</Directory>
|
|
</VirtualHost>
|
|
|