Category: Web

How to enable mod_rewrite in Apache 2.2

The mod_rewrite is a module for Apache Web Server which allows you to rewrite and manipulate URLs which are sent to your webserver. In this tutorial I will explain how to enable mod_rewrite with Apache 2.2* in a Debian Linux. To enable the module, type this command: a2enmod rewrite Output: root@server:~# a2enmod rewrite Module r...
Continue reading...

[SMF Forum] Cannot access attachments upload path.

Last days I was installing a SMF Forum in a website, but there was a problem. When an user was uploading a file as attachment it returned this error: An Error Has Occured! Cannot access attachments upload path. To fix this problem, go to Admin Panel -> Attachments and Avatars and be sure to write […]
Continue reading...

How to protect a folder in your website with .htaccess ?

You can protect a folder or your entire website with username and password. You can block all the unwanted users from accessing your protected folder or website. Create a file named .htaccess and place it in the folder you want to protect. In this example I will protect the entire website and I will place […]
Continue reading...

GID of script is smaller than min_gid error

Last days I encountered the following error in one of my websites: GID of script “/home/www/test.php” is smaller than min_gid Here is how I fixed the error: Login by SSH to your server Open the directory /home/www/ Type: chown username test.php chgrp groupname test.php Basically the error I encountered should mean th...
Continue reading...