OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Riddoch, John ESITI-ISEP-3 (John.E.Riddochis.shell.com)
Date: Mon Aug 13 2001 - 10:00:17 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    > This can be fixed by modifying your ReWriteRule directives to
    > reflect this
    > behavior:
    >
    > RewriteCond %{HTTP_REFERER} !^http://www\.yoursite\.com$
    > RewriteRule ^/*images/.* - [G]
    >
    > Which will match multiple occurences of "/" in the path of
    > the HTTP request.

    It will for the case of http://www.yoursite.com//images/file.gif but not for
    http://www.yoursite.com/images//file.gif (which would have the same result).
    Based on your syntax above, the second line should be:

    RewriteRule ^/*images/*.* - [G]