Submitted by BXTra on Tue, 02/15/2011 - 00:37
As far as I can remember, to prevent hotlink in Drupal is not that easy. If you search website to look for prevent hotlink, you will find a lot of them to use with .htaccess file. But those are not for Drupal. You can't just use it in Drupal .htaccess file, that won't work. However, I have a set of code that work great. Actually, I have this code long time ago but I can't remember where I got it from. Thanks for the guy that provide it. Too bad that I didn't save link at that time.
So, now, here is what we have to do :
Submitted by BXTra on Sun, 02/13/2011 - 23:59
When you do a reverse proxy in which Nginx will be the one who listen the traffic and forward anything needs to be process through PHP to Apache. With this, Apache will always receive an IP from Nginx server (or I should say localhost / 127.0.0.1 / local IP), not the real IP that user uses. In order to let Apache knows what is real user IP, we need to install mod_rpaf.
Just copy and paste code below into SSH :
Submitted by BXTra on Thu, 09/09/2010 - 01:56
My server run DirectAdmin with mod_fcgid installed. After I tuned MySQL. I, then, restarted both httpd and MySQL service. Both services started without any problem but I can't access my website at all. After I checked my Apache Error log, I found an error which said :
[emerg] (28)No space left on device: mod_fcgid: Can't create global fcgid-proctbl mutex
After search around how to fix this problem, I believe it's something about IPCS. Try run
# ipcs -a
Recent comments