Discussion:
.htaccess help - restricting access to certain REMOTE_host's and redirecting others to /index.html
(too old to reply)
Aaron Gray
2011-12-19 18:28:24 UTC
Permalink
Hi,


I am really having problems understand and getting .htaccess mod_rewrite's
to work.


What I want is a site that rewrites any traffic that is not from a set
number of REMOTE_HOST's or in a set of certain files to always be redirected
to /index.html, whether they are in a subdirectory or subdirectory or
another file in root.


I was wondering whether anyone could help me out with this please.


Many thanks in advance,


Aaron
Roy (Klompje)
2022-11-07 17:20:30 UTC
Permalink
Post by Aaron Gray
Hi,
I am really having problems understand and getting .htaccess mod_rewrite's
to work.
What I want is a site that rewrites any traffic that is not from a set
number of REMOTE_HOST's or in a set of certain files to always be redirected
to /index.html, whether they are in a subdirectory or subdirectory or
another file in root.
I was wondering whether anyone could help me out with this please.
Many thanks in advance,
Aaron
I DON'T SEE ANY PROBLEM?

Loading...