J
Joe Siegler
I use Frontpage 2003 on my local computer, and on my server, I have
the FP extensions (forget what version, but it's the most recent, as
far as I know).
Anyway, I recently implemented something on the server to prevent
people from leeching our bandwith. Basically I added some stuff to
the htaccess file that FP originally set up. Once I put this stuff
in, Frontpage doesn't recongize that there are extensions installed
there.
If I back the code I added from the htaccess file, and reupload,
Frontpage sees the extensions and all is well. Problem is that I
want the redirect stuff in there.
Is there any way to make the two co-exist? I'm thinking I'm going to
have to upload an htaccess file without the redirect stuff, do my
publishing, and then restore the one with the redirect stuff. I'd
rather not have to do all that.
For the record, here's the stuff I added to the htaccess file:
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^192.168\..*
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.3drealms.com [NC]
RewriteCond %{HTTP_REFERER} !^http://3drealms.com [NC]
RewriteCond %{REQUEST_URI} !^/bandwithleech.jpg
RewriteRule [^/]+.(gif|jpg|png|GIF|JPG|PNG)$
http://www.3drealms.com/bandwithleech.jpg
(The last line is being split when I post it here. It's not like that
in my real file).
the FP extensions (forget what version, but it's the most recent, as
far as I know).
Anyway, I recently implemented something on the server to prevent
people from leeching our bandwith. Basically I added some stuff to
the htaccess file that FP originally set up. Once I put this stuff
in, Frontpage doesn't recongize that there are extensions installed
there.
If I back the code I added from the htaccess file, and reupload,
Frontpage sees the extensions and all is well. Problem is that I
want the redirect stuff in there.
Is there any way to make the two co-exist? I'm thinking I'm going to
have to upload an htaccess file without the redirect stuff, do my
publishing, and then restore the one with the redirect stuff. I'd
rather not have to do all that.
For the record, here's the stuff I added to the htaccess file:
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^192.168\..*
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.3drealms.com [NC]
RewriteCond %{HTTP_REFERER} !^http://3drealms.com [NC]
RewriteCond %{REQUEST_URI} !^/bandwithleech.jpg
RewriteRule [^/]+.(gif|jpg|png|GIF|JPG|PNG)$
http://www.3drealms.com/bandwithleech.jpg
(The last line is being split when I post it here. It's not like that
in my real file).