Rewites and FrontPage
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Rewites and FrontPage




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Rewites and FrontPage  
Phil Steer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-07 12:32 PM

Following on from the excellent advice given me about the use of rewites
(see 'Redirection for deleted pages') I am still left with one problem.

I currently use MS FrontPage, and for legacy reasons will need to continue
to do so for some while until the migration of my site from static HTML to a
database-driven architecture is complete.

Unfortunaely, having updated .htaccess to use rewites, FrontPage will no
longer open my remote site for publishing.

Searching the Web and news groups this seems to be a recognised problem.

I have tried the following 'solutions', without success:

- Adding 'Options +FollowSymLinks' or 'Options +SymLinksIfOwnerMatch' to
.htaccess (I must be honest, I don't really understand what this is meant t
o
do'

- Adding 'RewriteCond %{HTTP_USER_AGENT} !.*FrontPage.* [NC}' befor
e the
other RewriteCond expressions in .htaccess

Perhaps there is a solution out there, but I've not been able to find it.

Does anyone know if there is one?

Many thanks.

Best Regards, Phil Steer







[ Post a follow-up to this message ]



    Re: Rewites and FrontPage  
shimmyshack


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-07 12:32 PM

On Jun 28, 8:19 am, "Phil Steer" <nos...@allos.co.uk> wrote:
> Following on from the excellent advice given me about the use of rewites
> (see 'Redirection for deleted pages') I am still left with one problem.
>
> I currently use MS FrontPage, and for legacy reasons will need to continue
> to do so for some while until the migration of my site from static HTML to
 a
> database-driven architecture is complete.
>
> Unfortunaely, having updated .htaccess to use rewites, FrontPage will no
> longer open my remote site for publishing.
>
> Searching the Web and news groups this seems to be a recognised problem.
>
> I have tried the following 'solutions', without success:
>
> - Adding 'Options +FollowSymLinks' or 'Options +SymLinksIfOwnerMatch' to
> .htaccess (I must be honest, I don't really understand what this is meant 
to
> do'
>
> - Adding 'RewriteCond %{HTTP_USER_AGENT} !.*FrontPage.* [NC}' bef
ore the
> other RewriteCond expressions in .htaccess
>
> Perhaps there is a solution out there, but I've not been able to find it.
>
> Does anyone know if there is one?
>
> Many thanks.
>
> Best Regards, Phil Steer

all i can suggest is to simplify this condition:
RewriteCond %{HTTP_USER_AGENT} !frontpage [NC]

however you can test it by simulating a request from Front page using
firefox,
get user agent switcher for firefox
https://addons.mozilla.org/firefox/addon/59
install and after finding your front page user agent string - make a
request to your localhost and look at the logs.
put it inside the user agent switcher and select it as the one ff will
use, test that it is running by checking the UA string from ff in your
localhost logs, then
see whether adjusting your rules makes a difference to what firefox
sees.

you could test this by having a helloworld.htm test url which exists
and would be served containing the word "HELLO!", BUT which your
index.php is set up to watch for and serve "GOODBYE!!" then request it
with firefox, then with ua set as frontpage, then with frontpage
itself. Just see what happens


if you are still not getting anywhere, download and install
fiddlertool:
http://www.fiddlertool.com/
this is a proxy that will show you whats going on when requests are
made from your machine.
so make a few requests with Frontpage and inpsect each row
infiddlertool and check the right hand side, in raw mode in the lower
window, see the status codes and other errors. Firefox must be set up
to use proxy 127.0.0.1 8888 for fiddlertool, its easier if you have
foxyproxy installed:
https://addons.mozilla.org/firefox/addon/2464
so you can switch between proxies (and no proxy) with a click






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register