This is my .htaccess file RewriteEngine On RewriteCond %{HTTP_HOST} ^go4pics\.com$ [NC] RewriteRule ^(.*)$ http://www.go4pics.com/$1 [L,R=301] RewriteRule ^([a-zA-Z]+)\.(jpg|gif|png|wbmp)$ controller/Resizer.php?m=original&a=$1&e=$2 [L] RewriteRule ^(icon|small|medium|square)\/([a-zA-Z]+)\.(jpg|gif|png|wbmp)$ controller/Resizer.php?m=$1&a=$2&e=$3 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule (.*) application.php?request=$1 [L,QSA] i have a script that run and working good on xampp butt when i try to install it on my server it behave very very strange first its not installing when it installed i get blank page butt when i delete .htaccess file script runs butt get 404 because i delete .htaccess file pls help whats wrong ! thanks