web admin

manage your web deployments

sabeiro

2026-06-24 Wed 00:00

Created: 2026-11-26 Thu 14:46

web admin utils

Manage your web server

websearch_searxng.jpg

Figure 1: self managed websearch

webdav

Webdav is a really simple way to mount remote folders

   location /webdav {
    alias /var/www/webdav;
    autoindex on;
    client_body_temp_path /var/tmp/nginx/webdav;
    dav_methods PUT DELETE MKCOL COPY MOVE;
    dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK;
    dav_access user:rw group:rw all:rw;
    client_max_body_size 0;
    create_full_put_path on;
    auth_basic "Restricted Access";
    auth_basic_user_file /etc/nginx/.htpasswd;
    set $dest $http_destination;
    if ($http_destination ~ "^http?://(.+)") {
        set $dest $1;
    }
    add_header DAV "1, 2" always;
    satisfy all;
}

apache password

htpasswd -c ~/cred.apache2.htpasswd dav

htpasswd -v ~/cred.apache2/.htpasswd dav

cat ~/lav/src/malastro/server/apache_permission.sh
sudo a2enmod ssl
sudo a2enmod proxy
sudo a2enmod proxy_balancer
sudo a2enmod proxy_http
sudo a2enmod proxy_connect
sudo a2enmod proxy_html
sudo a2enmod fastcgi
sudo a2enmod proxy_ajp
sudo a2enmod rewrite
sudo a2enmod deflate
sudo a2enmod headers


#ln -s /etc/apache2/mods-available/proxy_http.load /etc/apache2/mods-enabled/proxy_http.load
sudo apache2ctl configtest
sudo apache2ctl graceful

sudo echo 'ServerName localhost' >> /etc/apache2/conf.d/fqdn
sudo echo 'ServerName localhost' >> /etc/apache2/conf-available/servername.conf
cat ~/lav/src/malastro/server/apache_mod.sh
ls ~/lav/src/malastro/server/
apache_mod.sh
apache_permission.sh
enable_proxy.sh
grafana
https.sh
https_localhost.sh
local_certificate.sh
nodejs.sh
nodejs_update.sh
php_apache.sh
server.csr.cnf
sql_set.sh
v3.ext
web_permissions.sh