Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Posts
    80

    htaccess and mod rewrite

    hi.

    I would like to point all users who are using firefox browser to a certain sub folder.

    I need that the requested URI will stay the same.

  2. #2
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,910
    You could try the following using htaccess:

    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} firefox [NC]
    RewriteRule ^index\.html$ /subdirectory/ [L]

    ... just a rough example.
    Patrick William | RACK911 Labs | Software Security Auditing
    400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com

    www.HostingSecList.com - Security notices for the hosting community.

Posting Permissions

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