Welcome to WebmasterWorld Guest from 54.196.177.48

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)

Junior Member

5+ Year Member

joined:June 12, 2006
posts:72
votes: 0


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)

Senior Member

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

joined:Mar 31, 2002
posts:25430
votes: 0


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

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members