**Need help with htacess file

Discussion in 'PHP' started by swoopo, Nov 29, 2010.

  1. #1
    my sites is up and running but some pages say, no server found

    i caontacted godaddy and they said my hosting account is fine for my script and its to do with the htaccess file, can anyone help with this?

    here the htaccess file

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^profile/(.*)/(.*) profile.php?id=$1&name=$2



    RewriteRule ^confirmemail/(.*) confirmemail.php?code=$1
    RewriteRule ^resetpassword/(.*) resetpassword.php?code=$1
    RewriteRule ^resendconfirmation/(.*) resendconfirmation.php?userid=$1

    RewriteRule ^login$ login.php
    RewriteRule ^signup$ register.php
    RewriteRule ^logout$ logout.php

    RewriteRule ^home$ home.php
    RewriteRule ^update$ viewupdate.php
    RewriteRule ^updates$ viewupdates.php
    RewriteRule ^followers$ viewfollowers.php
    RewriteRule ^following$ viewfollowing.php
    RewriteRule ^inbox$ inbox.php

    RewriteRule ^explore$ recentupdates.php
    RewriteRule ^community$ newmembers.php

    RewriteRule ^myprofile$ myprofile.php
    RewriteRule ^design$ design.php
    RewriteRule ^privacy$ privacy.php
    RewriteRule ^alerts$ alerts.php

    RewriteRule ^search$ search.php
    RewriteRule ^searchmembers$ searchchannels.php
    RewriteRule ^searchupdates$ searchupdates.php

    RewriteRule ^forgot$ forgot.php

    RewriteRule ^rss$ rss_updates.php
    RewriteRule ^invite$ invite_friends.php

    </IfModule>

    <IfModule mod_security.c>
    # Turn off mod_security filtering.
    SecFilterEngine Off

    # The below probably isn't needed,
    # but better safe than sorry.
    SecFilterScanPOST Off
    </IfModule>
     
    swoopo, Nov 29, 2010 IP
  2. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #2
    can you put [L] at the end of each rule..
     
    gapz101, Dec 1, 2010 IP