.htaccess file problem

Discussion in 'Apache' started by Chikna Mani, Aug 27, 2012.

  1. #1
    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
     
    Chikna Mani, Aug 27, 2012 IP
  2. shindig

    shindig Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What do the error logs say?
     
    shindig, Sep 2, 2012 IP