Forum Moderators: phranque

Message Too Old, No Replies

htaccess , front page ext.

htaccess front page

         

cyberdyne

1:16 am on Nov 26, 2009 (gmt 0)

10+ Year Member



I'm guessing a changed was made on my web server today but my host is not currently letting on what the change was.

The reason I know is that I have had the following line in my .htaccess for many months without it causing any issues but today, for some reason, it fooled the server thinking I had Front Page extensions installed.

Does anyone know what might have happened please?
Many thanks
cd

RewriteCond %{HTTP_USER_AGENT} ^MSFrontPage [NC,OR]

jdMorgan

2:08 pm on Nov 26, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have no idea what this "means" as far as your hosting environment.

If this line of code is really causing your host to do something strange, then either remove it or replace it with a logically-equivalent line, such as "RewriteCond %{HTTP_USER_AGENT} ^[M]S[F]ront[P]age [NC,OR]" that won't match their simplistic method of 'finding' hosted sites with FP extensions...

Jim

cyberdyne

2:35 pm on Nov 26, 2009 (gmt 0)

10+ Year Member



OK, thank you for your reply Jim. That replacement code worked without issue.
Many thanks