allpy
changeset 494:ffb6aec11314
blocks3d-wt: reorganized apache configs for more stable operation
author | Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru> |
---|---|
date | Tue, 22 Feb 2011 17:16:56 +0300 |
parents | 8e4fc3e239e9 |
children | 516a8059950f |
files | debian/apache/blocks3d debian/blocks3d-wt.links debian/changelog |
diffstat | 3 files changed, 15 insertions(+), 18 deletions(-) [+] |
line diff
1.1 --- a/debian/apache/blocks3d Tue Feb 22 10:37:48 2011 +0300 1.2 +++ b/debian/apache/blocks3d Tue Feb 22 17:16:56 2011 +0300 1.3 @@ -1,26 +1,17 @@ 1.4 Alias /blocks3d /var/lib/blocks3d-wt 1.5 1.6 -<Location /blocks3d> 1.7 +<Directory /var/lib/blocks3d-wt> 1.8 Order allow,deny 1.9 Allow from all 1.10 Options FollowSymLinks 1.11 -</Location> 1.12 +</Directory> 1.13 1.14 -<Location /blocks3d/blocks3d-wt> 1.15 - Order allow,deny 1.16 - Allow from all 1.17 +<Directory /var/lib/blocks3d-wt/bin> 1.18 Options ExecCGI FollowSymLinks 1.19 + SetHandler fcgid-script 1.20 +</Directory> 1.21 1.22 - <IfModule mod_fcgid.c> 1.23 - SetHandler fcgid-script 1.24 - </IfModule> 1.25 - <IfModule mod_fastcgi.c> 1.26 - SetHandler fastcgi-script 1.27 - </IfModule> 1.28 -</Location> 1.29 - 1.30 -<IfModule mod_rewrite.c> 1.31 - RewriteRule ^/blocks3d/*$ /blocks3d/blocks3d-wt [PT,L] 1.32 -</IfModule> 1.33 +RewriteRule ^/blocks3d$ /blocks3d/ [R=301,L] 1.34 +RewriteRule ^/blocks3d/$ /var/lib/blocks3d-wt/bin/blocks3d-wt [H=fcgid-script,L] 1.35 1.36 # vim: set ft=apache et ts=4 sts=4 sw=4:
2.1 --- a/debian/blocks3d-wt.links Tue Feb 22 10:37:48 2011 +0300 2.2 +++ b/debian/blocks3d-wt.links Tue Feb 22 17:16:56 2011 +0300 2.3 @@ -1,5 +1,5 @@ 2.4 -usr/lib/blocks3d-wt/blocks3d-wt var/lib/blocks3d-wt/blocks3d-wt 2.5 +usr/lib/blocks3d-wt/blocks3d-wt var/lib/blocks3d-wt/bin/blocks3d-wt 2.6 +usr/share/blocks3d-wt/locales var/lib/blocks3d-wt/bin/locales 2.7 usr/share/blocks3d-wt/files/css var/lib/blocks3d-wt/css 2.8 usr/share/blocks3d-wt/files/js var/lib/blocks3d-wt/js 2.9 usr/share/blocks3d-wt/files/resources var/lib/blocks3d-wt/resources 2.10 -usr/share/blocks3d-wt/locales var/lib/blocks3d-wt/locales
3.1 --- a/debian/changelog Tue Feb 22 10:37:48 2011 +0300 3.2 +++ b/debian/changelog Tue Feb 22 17:16:56 2011 +0300 3.3 @@ -1,3 +1,9 @@ 3.4 +allpy (0.0-6) unstable; urgency=medium 3.5 + 3.6 + * blocks3d-wt: reorganized apache configs for more stable operation 3.7 + 3.8 + -- Danya Alexeyevsky <dendik@kodomo.fbb.msu.ru> Tue, 22 Feb 2011 17:16:50 +0300 3.9 + 3.10 allpy (0.0-5) unstable; urgency=medium 3.11 3.12 * blocks3d-wt debianization: fixed urls for various resources (js &