$(function() {
$("#backlog, #ready, #inprogress, #verify, #done").sortable({
connectWith: ".column",
update: function( event, ui ) {
var backlog = $("#backlog").sortable("toArray");
var ready = $("#ready").sortable("toArray");
var inprogress = $("#inprogress").sortable("toArray");
var verify = $("#verify").sortable("toArray");
var done = $("#done").sortable("toArray");
json = '{"backlog":["'+JSON.stringify(backlog)+'"],"ready":['+JSON.stringify(ready)+'],"inprogress":['+JSON.stringify(inprogress)+'],"verify":['+JSON.stringify(verify)+'],"done":['+JSON.stringify(done)+']}';
console.log(json);
}
}).disableSelection();
})
#service iptables-persistent
Usage: /etc/init.d/iptables-persistent {start|restart|reload|force-reload|save|flush}
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.site.ru
RewriteCond %{HTTP_HOST} ([^.]+)\.site.ru
RewriteRule ^(.*)$ /users/%1
Listen 80
<VirtualHost *:80>
ServerName site.net
ServerAlias www.site.net
DocumentRoot /var/www/site.net
<Directory /var/www/site.net>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/www/site.net/error.log
</VirtualHost>
<VirtualHost *:80>
ServerName otrs.site.net
ServerAlias www.otrs.site.net
DocumentRoot /var/www/otrs.site.net
<Directory /var/www/otrs.site.net>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/www/otrs.site.net/error.log
</VirtualHost>