debian: remove apache example file
This commit is contained in:
parent
29ee58f377
commit
fa5d08658b
|
@ -17,7 +17,6 @@ override_dh_install:
|
||||||
$(CURDIR)/debian/wcs/usr/sbin/wcsctl
|
$(CURDIR)/debian/wcs/usr/sbin/wcsctl
|
||||||
rmdir $(CURDIR)/debian/wcs/usr/bin/
|
rmdir $(CURDIR)/debian/wcs/usr/bin/
|
||||||
cd po && make install prefix=$(CURDIR)/debian/wcs/
|
cd po && make install prefix=$(CURDIR)/debian/wcs/
|
||||||
cp debian/vhost-apache-wcs $(CURDIR)/debian/wcs/etc/apache2/sites-available
|
|
||||||
chown www-data.www-data $(CURDIR)/debian/wcs/var/lib/wcs/
|
chown www-data.www-data $(CURDIR)/debian/wcs/var/lib/wcs/
|
||||||
install -d $(CURDIR)/debian/wcs/etc/wcs
|
install -d $(CURDIR)/debian/wcs/etc/wcs
|
||||||
install -m 644 wcs.cfg-sample $(CURDIR)/debian/wcs/etc/wcs/wcs.cfg
|
install -m 644 wcs.cfg-sample $(CURDIR)/debian/wcs/etc/wcs/wcs.cfg
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
<VirtualHost *>
|
|
||||||
ServerAdmin webmaster@locahost
|
|
||||||
ServerName www.example.com
|
|
||||||
DocumentRoot /usr/share/wcs/web/
|
|
||||||
|
|
||||||
SCGIMount / 127.0.0.1:3001
|
|
||||||
|
|
||||||
Alias /static/ /var/lib/wcs/collectstatic/
|
|
||||||
<LocationMatch "^/static">
|
|
||||||
SCGIHandler off
|
|
||||||
</LocationMatch>
|
|
||||||
|
|
||||||
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
|
|
||||||
</VirtualHost>
|
|
Loading…
Reference in New Issue