Re: Frontpage 2003, htaccess, and redirects

From: Steve Easton (admin_at_95isalive.com)
Date: 02/24/04


Date: Tue, 24 Feb 2004 17:01:10 -0500

Not the answer you're looking for, but since you're hosting on an Apache
server, If they have the web master Cpanel have you checked to see if it has
"Hot link protection"?? If there it's under Advanced menu.

Also .htaccess file lives in more than one place on an Apache server. Do
they all need editing??

-- 
Steve Easton
MS MVP FrontPage
95isalive
This site is best viewed..................
..............................with a computer
"Joe Siegler" <joe@siegler.net> wrote in message
news:8d6b5f50.0402241339.6a440240@posting.google.com...
> 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).


Relevant Pages

  • Re: index.htm renamed to index.html
    ... If the host allows server overrides to ... be added to the .htaccess file in the ... virtual *aka* domain directory, ... Microsoft MVP FrontPage ...
    (microsoft.public.frontpage.client)
  • Re: FP 2002 Extensions: Permissions Administration / Send an Invi
    ... You may wish to post in the Unix server extensions newsgroup, ... Microsoft MVP - FrontPage ... |> I imported a htaccess file into my frontpage and then onto my site. ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Frontpage 2003, htaccess, and redirects
    ... 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 ... If I back the code I added from the htaccess file, and reupload, ... RewriteCond %!^$ ...
    (microsoft.public.frontpage.client)
  • Re: Login problems
    ... If you say your URL to your remote server is http://localhost/newland I ... Only copying the .htaccess file is not enough! ... If my site is upload to the remote folder ...
    (comp.lang.php)
  • [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
    ... Working with apache2 on 11.0 to tighten security a bit of a few ... certificate signing pw removed so you are not prompted on server start. ... RewriteCond %!=on ... SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire ...
    (SuSE)