htaccess和Dropbox

我正在寻找一些帮助将Dropbox登陆页面集成到我当前的htaccess。

我发现这个伟大的脚本(不支持我的主机,因为在Apache中使用mod_proxy [P]) http://leebyron.com/how/2010/03/09/dropbox-custom-domain/

这是我想要的2个着陆页:

box.leebyron.com(Dropbox的公用文件夹根页面redirect到index.php – 不是404)box.leebyron.com/wrong-url.zip(错误的urlredirect到index.php – 不是404)

我的问题:如何将着陆页添加到以下.htaccess文件中:

# Check to see if mod_rewrite is installed / avaliable <IfModule mod_rewrite.c> RewriteEngine on # Check to see if file or directory exists RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Rewrite to Dropbox URL. Make sure you change the data after "/u/" (9502594) to your own user ID RewriteRule ^e/(.*)$ http://dl.dropbox.com/u/9502594/$1 [L,QSA] # Embedded File RewriteRule ^(.*)$ http://dl.dropbox.com/u/9502594/$1?dl=1 [L,QSA] # Force Download (Default) </IfModule>