homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Index.html Rewrites and Contribute
Can't use the rewrite and have Contribute work properly

5+ Year Member

Msg#: 3432074 posted 6:51 pm on Aug 25, 2007 (gmt 0)

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]




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

Msg#: 3432074 posted 8:38 pm on Aug 25, 2007 (gmt 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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved