Welcome to WebmasterWorld Guest from 54.224.17.208

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Index.html Rewrites and Contribute

Can't use the rewrite and have Contribute work properly

     
6:51 pm on Aug 25, 2007 (gmt 0)

5+ Year Member



Hello,
A client has his various contractors (including myself) edit pages using Macromedia's Contribute, primarily for version control. Contribute won't work with the following code rewriting site.com/index.html to site.com/ - apparently it can't discern that the homepage is index.html. It hangs and is not able to load index.html for editing. Any suggestions on a way around this? Programatically or operationally?

DirectoryIndex index.html
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html\ HTTP/
RewriteRule ^(([^/]+/)*)index\.html$ [site.com...] [R=301,L]

Thanks,
Greg

8:38 pm on Aug 25, 2007 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You could add a RewriteCond to disable that RewriteRule based on the requesting User-agent string and/or the requesting remote address. Since I don't know your IP address range(s) or Contribute's User-agent string (or even if it provides one), that's all I can offer at the moment.

Jim

 

Featured Threads

Hot Threads This Week

Hot Threads This Month