Search

notatki

kasiakepka

Category

Apache

Prefork VS Worker MPM

Prefork and worker are two type of MPM apache provides. Both have their merits and demerits. By default mpm is prefork which is thread safe. Prefork MPM uses multiple child processes with one thread each and each process handles one... Continue Reading →

Apache config loaded

apache2ctl -V | grep SERVER_CONFIG_FILE

MaxRequestWorkers vs MaxClients

MaxRequestWorkers was called MaxClients before version 2.3.13. The old name is still supported.

Htcacheclean

/usr/sbin/htcacheclean -r -p/var/cache/apache2/mod_disk_cache [1] Jun 22 13:05:16 asi-p-ma-web-001 katarzyna_kepka: root [307]: 22/06/16 13:05:08 /usr/sbin/htcacheclean -r -p/var/cache/apache2/mod_disk_cache -l500M [0] Jun 22 13:05:43 asi-p-ma-web-001 katarzyna_kepka: root [307]: 22/06/16 13:05:40 /usr/sbin/htcacheclean -r -p/var/cache/apache2/mod_disk_cache -l500M [0]

Apache Rewrite Logging

#Rewrite Logging RewriteLog "/var/log/apache2/rewrite.log" RewriteLogLevel 9

BASH Quicklist

Filename Metacharacters * Match any string of zero or more characters. ? Match any single character. [abc...] Match any one of the enclosed characters; a hyphen can specify a range (e.g., a-z, A-Z, 0–9). [!abc...] Match any character not enclosed... Continue Reading →

Blog at WordPress.com.

Up ↑