Add the following config, e.g. to /etc/httpd/conf/httpd.conf: LogLevel info authz_core:debug then make sure to reload apache (service httpd reload) and you will find a detailed reason, why access to a resource is granted or not in the error log.
Just a list of tutorials: http://www.openlogic.com/wazi/bid/188105/How-to-Secure-Your-Apache-Web-Server http://blog.monitis.com/index.php/2011/06/22/25-linux-server-hardening-tips/ http://www.cyberciti.biz/tips/linux-security.html
Slow website? Have you tried turning on file compression? If not, this tweak can speed up your website in an instant. The apache documentation of the mod_deflate is one way to go. Add the following piece of configuration (that I have just copy-pasted from the apache docs website) to your virtual host config (it requires… Continue reading Speed up your website served by apache httpd in 2 mins
Problem: Yor website has three sources of traffic: SOMEONE: people browsing the web you don’t know FRIENDS: your friends MACHINES: search engines, facebook (when a link is posted, the content of the link is fetched by Facebook), etc. You want that your FRIENDS have full access to your website, whereas MACHINES should not. The SOMEONEs… Continue reading captcha protect your website using Apache’s mod_rewrite to expel Google, Facebook and Co.
You might have the domain domain1.com which should redirect visitors to domain2.com. You could set up a virtual host, pointing to /path where an index.php file resides which forwards the user, e.g. with: <?php header(“Location: http://domain2.com”); ?> The easier way is to create a virtual host, e.g. by creating /etc/apache2/sites-available/domainForwarding with the following content: <VirtualHost… Continue reading domain forwarding with Apache mod_rewrite
Add the following line within your <VirtualHost></VirtualHost> directive: php_value memory_limit 128M For increasing the allowed memory to 128 MB for php to consume for the specific virtual host.