Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Older Forums & Discontinued Products: Web Hosting:
htaccess file question

 

 


JamesKB
User

Dec 12, 2005, 5:47 PM

Post #1 of 1 (1951 views)
Shortcut
htaccess file question Can't Post

I have been investigating the .htaccess file. I have a question that I am sure some one here can answer.

I have seen two (2) diff syntex for .htaccess to not allow "Wget" stroll my site.

Code 1:
RewriteCond %{HTTP_USER_AGENT} Wget
RewriteRule ^.*$ X.html [L]

Code 2:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Wget
RewriteRule ^.* - [F,L]

NOTE the diff: In Code 2 there is "RewriteEngine On" on the first line and a "^" before "Wget" on the Rewrite line and the "RewriteRule" line is diff.

Is there any diff? If so what? Which is best to use??

Thanks for your time.

JamesKB

Have a nice day....
--
James

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4