You need to enable .htaccess
RewriteEngine On
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
A brief short linux how to and problem solving. This blog is intended to be a reference by summarizing from reliable data source and my experience. Readers should have a basic understanding about linux.
AddHandler fcgid-script .php .fcgiDefaultInitEnv PHPRC "/etc/php/cgi-php5"IdleTimeout 60BusyTimeout 120ProcessLifeTime 360SpawnScoreUpLimit 2100MaxProcessCount 2100DefaultMaxClassProcessCount 2100IPCConnectTimeout 120IPCCommTimeout 120FCGIWrapper /usr/bin/php-cgi .php
set daemon 120
set mailserver smtp.localhost
set mail-format { from: admin@localhost.com }
set alert systemadmin@localhost.com
check process apache with pidfile /var/run/apache2.pid
start program = "/etc/init.d/apache2 start"
stop program = "/etc/init.d/apache2 stop"
if failed port 80 protocol http then restart
if loadavg(5min) greater than 100 for 2 cycles then restart
alert extrapeople@localhost.com
Description: | Directory where Apache attempts to switch before dumping core |
---|---|
Syntax: | CoreDumpDirectory directory |
Default: | See usage for the default setting |
Context: | server config |
Status: | MPM |
Module: | beos , leader , mpm_winnt , perchild , prefork , threadpool , worker |
This controls the directory to which Apache attempts to switch before dumping core. The default is in the ServerRoot
directory, however since this should not be writable by the user the server runs as, core dumps won't normally get written. If you want a core dump for debugging, you can use this directive to place it in a different location.