Nifty Dropbox Trick

clipped from

Simplify Dropbox URL’s with Apache2 (reverse)proxy

April 6th, 2009

First off this is a (late) response to Christer Edwards way of simplifying his public Dropbox URL’s  with .htaccess and mod_rewrite, it can be found here.

While his solution works, it leaves the URL ugly e.g. a Picture of my son and his toy duck at would redirect to . Below is my solution to the “problem”. Simply setup apache2 as a reverse proxy for your public folder on Dropbox.

Here is the sample config I use on , its just a couple of added lines to your vhost/httpd.conf ( change the number after the /u/ to your Dropbox user ID number ).

<Proxy *>
Order deny,allow
Allow from all
ProxyRequests Off
ProxyPass /dropbox
ProxyPassReverse /dropbox

So now when you visit the URL never changes.


About this entry