Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
    • Graphic
    • HTML / PHP / CMS
      • AJAX
      • Apache
        • Install SSL CA Certificate
        • apache, http, www
        • authentification
        • php-apc
      • CSS
      • Drupal
      • Flash video
      • HTML examples
      • PHP
      • WebDAV
      • Webserver UTF-8 encoding
      • framebreaker
      • nginx
    • Java
    • PL / SQL
    • Magento
    • python
    • Asterisk
    • C / C++
    • JavaScript
    • Json
    • Magento
    • OpenOffice / LibreOffice
    • Perl
    • Postfix
    • Regular Expression
    • TLA
    • Tomcat
    • Zenity
    • bash
    • find
    • git
    • ofbiz
    • wildfly
    • xml
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
# Redirect http to https
RewriteEngine On

RewriteCond %{HTTP_HOST} !^www\.panticz\.de [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://www.panticz.de/$1 [L,R=301] 

RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}/$1 [L]

RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$
RewriteRule ^(/)?$ page [L]

# Allow directory listing
# enable "AllowOverride All" in VHost configuration first
Options +Indexes

# Allow show bash files

   Allow from all
   AddType text/plain .sh .bash


# Enable PHP5
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
or
SetEnv PHP_VER 5

# disable REGISTER_GLOBALS
SetEnv REGISTER_GLOBALS 0

# redirect to another homepage
RewriteEngine on
RewriteRule ^page_1.html$ http://www.panticz.de

# redirect by domain name
RewriteCond %{HTTP_HOST} ^(.*)(shop|sell)(.*)$
RewriteRule ^$ /my-shop [L,R=301]

# Vhost: /etc/apache2/sites-available/video.conf

    DocumentRoot /media/video/axis-00112233CCDD
    ServerName video
    ServerAlias video.example.com

        Require all granted
        AddType video/x-matroska .mkv
        Options +Indexes
        IndexIgnore *.xml *.db


a2ensite video

# Alias: /etc/apache2/conf-available/snom.conf 
Alias /snom "/srv/snom3x0"

    Options Indexes MultiViews FollowSymLinks
    Require all granted

a2enconf snom

# Links
http://corz.org/serv/tricks/htaccess2.php
http://www.searchenginepromotionhelp.com/m/articles/search-engine-problems/url-redirect-safe.php
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung