Results 1 to 2 of 2

Thread: .htaccess help

  1. #1
    Join Date
    Sep 2007
    Posts
    110
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default .htaccess help

    i want to disallow the following user agent. how would i do it?

    BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/102 UP.Link/6.3.0.0.0

    this is my .htaccess file info

    AddHandler fcgid-script .php
    FCGIWrapper /usr/local/cpanel/cgi-sys/fcgiwrapper .php


    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>

    deny from 72.227.91.133
    deny from 209.183.32.24
    deny from 216.9.250.114
    deny from 216.9.250.83
    deny from 216.9.250.109
    deny from 216.9.250.84
    deny from 216.9.250.108 216.9.250.41 216.9.250.38 216.9.250.40

  2. #2
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Why dont you want people viewing your site from a PDA?

    Also, the useragent can be spoofed easily, so there's no real point...

    Anyways: http://www.webmasterworld.com/forum40/330.htm
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •