My Linux Guide
  • Home
Sign in Subscribe

Apache

A collection of 3 posts
Apache

Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.

You may come across this error in newer version of apache which is because the newer configurations use an event based Multi Processing Module by default. If the PHP is not compiled with threadsafe, you will need to switch to the prefork MPM, which does not use threads. Apache is
Oct 23, 2014
Apache

Apache rewrite rules

Rewrite to a folder and hide the folder name in url : RewriteCond     %{SERVER_NAME}    ^sitename.com        [NC,OR] RewriteCond    %{SERVER_NAME}    www.sitename.com    [NC] RewriteCond    %{REQUEST_URI}    !^anyfiletoexclude.php    [NC] RewriteCond    %{REQUEST_URI}    !^/foldertoredirect/    [NC] RewriteCond    (.*)        /foldertoredirect/$1 force use www RewriteCond    %{SERVER_NAME}    ^website.com$ RewriteRule    ^/(.*)        http://www.
Jun 25, 2012
Apache

Creating SSL Certificates

Create a Self Signed Certificate : 1. Generate A Server Key : #openssl genrsa -des3 -out server.key 4096 2. Generate the Signing Request using the key above #openssl req -new -key server.key -out server.csr 3.Sign the certificate signing request. #openssl x509 -req -days 365 -in server.csr -signkey
Oct 25, 2010 2 min read
Page 1 of 1
My Linux Guide © 2025
Powered by Ghost