Forum Moderators: phranque
RewriteCond /v/trap.com/trigger/offline.html -f
RewriteRule .* /v/trap.com/trigger/offline.html [L]
as soon as finds offline.html it redirects to offline.html
the offline.html internally redirects to www.xyz.com/rahul.cgi
that is [abc.com...] gets redirects to www.xyz.com/rahul.cgi
THIS WORKS FINE
the problem is, as soon as remove the file offline.html and go to the url [abc.com...] it still goes to www.xyz.com/rahul.cgi
i have to manually remove cookies and temporary internet files from IE browser. then only it does not redirect once the file is removed...
How can i get rid of this?
Thanks,
Rahul
why?
i guess mod_rewite is enable because i have those thing suncommented in httpd.conf
get the error:
Invalid command 'ExpiresActive', perhaps mis-spelled or defined by a module not included in the server configuration
This says that mod_expires is not included or loaded on your server. You'll need to get it installed.
where exactly can i find .htaccess
You can find it wherever you put it on your server. You may put an .htaccess file in any Web-accessible directory.
Jim