Category: Apache

Apache: SoftException in Application.cpp:357

This error is caused by Apache and its because the script, in this case index.php, does not have the correct user and group ownership. Thus, Apache cannot access the file.

Deny direct access to PHP files using htaccess

This can be helpful if you have a lot of include files and want to deny direct access to those files.

Apache - Create a VirtualHost

You will need to do 3 easy steps in order to create an Apache virtual host in Ubuntu: create VirtualHost file or add a VirtualHost record in the default VirtualHost file, enable the site and restart Apache.

Redirect www to non www

When the user types your domain with www, for example, it will be redirected to Even if he access a page, it will be redirected to the same page without the www.