Rhel5 PHP 5.2.5

Posted by alex almazan Wed, 09 Jan 2008 12:05:00 GMT

PHP 5.2.5 source(s) for compiled PHP modules such as MhAsh McryPt and MSsQL:

ftp.pbone.net:/mirror/remi.collet.free.fr/rpms/el5.i386

ftp.pbone.net/mirror/remi.collet.free.fr/rpms/el5.x86_64

lftp works best ie.

lftp ftp.pbone.net:/mirror/remi.collet.free.fr/rpms/el5.i386

Hot Linking

Posted by alex almazan Mon, 31 Dec 2007 19:00:00 GMT

You can stop hot linking into your sites by creating a .htaccess file with the following syntax; however, this requires that your servers supports mod_rewrite

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]

The syntax will show a broken link when anyone tries to hot link any of your .gif and .jpg files. Please note that you willl need to replace domain.com with your domain name. In addition, you can redirect the hot link to a picture of your choice by adding the following syntax instead:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ http://www.domain.com/picture-of-choice.jpg [R,L]

This syntax will redirect all hot links to the picture named picture-of-choice.jpg located at domain.com.