htaccess help

Discussion in 'Apache' started by iqra_psh, Aug 10, 2006.

  1. #1
    Hello,
    The following code added to my hostgator account .htaccess
    what they did ?
    and what its for ?
    and would it hurt any robots SE ?



    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.siteurl.com
    AuthUserFile /home/siteusername/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/siteusername/public_html/_vti_pvt/service.grp
    Code (markup):


    Ive change it to the following so it redirects http://site.com to http://www.site.com


    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^siteurl\.com
    RewriteRule ^(.*)$ http://www.siteurl.com/$1 [R=permanent,L]
    Code (markup):
    Thanks
     
    iqra_psh, Aug 10, 2006 IP
  2. Golfboards

    Golfboards Peon

    Messages:
    122
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That's just standard FrontPage code in the htaccess. I HATE when this gets added automatically on my control panel for no reason. If you don't use FrontPage to edit your site, I'd take it out.
     
    Golfboards, Aug 10, 2006 IP