Skip to content
  • About’n’Search
  • Datenschutzerklärung // Privacy Declaration

bytes and bones

stuff that matters

Category: apache

Written by #xxaxxelxxFebruary 2, 2016

Parse Apache | Icecast logs

gawk ‘BEGIN { FPAT=”([^ ]+)|(\”[^\”]+\”)|(\\[[^\\]]+\\])” } { print $9 }’

Written by #xxaxxelxxNovember 26, 2014

Apache | List loaded modules

apache2ctl modules

Written by #xxaxxelxxNovember 26, 2014November 26, 2014

Apache | redirect from root always to default page/script

put this directly into the virtual host section: RewriteEngine on RewriteRule ^/$ https://my.server.org/directory/start.pl

Written by #xxaxxelxxNovember 26, 2014November 26, 2014

Apache | redirect port 80 to 443

<VirtualHost *:80> RewriteEngine on ReWriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L] </VirtualHost>

Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • bytes and bones
    • Join 92 other followers
    • Already have a WordPress.com account? Log in now.
    • bytes and bones
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar