doc: explain how to server themes files from Apache (#1970)
This commit is contained in:
parent
4915edee37
commit
82d2590af3
10
INSTALL
10
INSTALL
|
@ -39,7 +39,15 @@ package installs a init.d script automatically.
|
|||
<LocationMatch "^/(css|images|js|qo)/.*">
|
||||
SCGIHandler off
|
||||
</LocationMatch>
|
||||
|
||||
|
||||
# this part allows serving the themes directly from Apache, but it
|
||||
# requires mod_rewrite
|
||||
Alias /themes/ /usr/share/wcs/themes/
|
||||
RewriteEngine On
|
||||
RewriteCond /usr/share/wcs/%{REQUEST_URI} !-f
|
||||
RewriteCond /usr/share/wcs/%{REQUEST_URI} !-d
|
||||
RewriteRule ^/themes/(.*)$ /var/lib/wcs/%{HTTP_HOST}/themes/$1
|
||||
|
||||
CustomLog /var/log/apache2/wcs-access.log combined
|
||||
ErrorLog /var/log/apache2/wcs-error.log
|
||||
|
||||
|
|
Loading…
Reference in New Issue