Snap Builder Public Codes Library
Snap | Generators | Login | Browse | Search | Enter Code | Export Snap Builder Public Codes Library

 

Category: >> .HTACCESS Codes Library >> Force Ajax.gif Requests to Correct Location


Code Snippet </> Info


Snippet Name: Force Ajax.gif Requests to Correct Location

Description: A common one is requests for a file called ajax-loader.gif, probably evil scanning looking for poorly made ajax applications in which to exploit. Make sure that file really does exist and force all requests for it to that real location.

Note:

Author:

Last Modified: 2014-05-17 22:23:41

Language: .htaccess

Highlight Mode: html

Copy Codes: Use Free Notepad ++
Bookmark and Share

Snap HTML Code Editor:
Paste the source code, make changes and instantly see it in live preview.
Snap HTML Code Editor


  About Copying
Copied To Clipboard!

# REDIRECT AJAX-LOADER <ifmodule mod_rewrite.c> RewriteCond %{REQUEST_URI} !^/images/ajax\-loader\.gif [NC] RewriteCond %{REQUEST_URI} ajax\-loader\.gif [NC] RewriteRule (.*) http://snapbuilder.com/images/ajax-loader.gif [R=301,L] </ifmodule>


[ Snippet Options ]

 

© 2002 -  Snap Builder Public Codes Library