h1. HOWTO: Dropbox, Apache and eXtplorer (on Fedora) NOTE: Replace _[user]_ with the username under which the Dropbox folder is located. NOTE: Replace _[FQDN]_ with either your IP address or the hostname (or FQDN) which you'll be using to access the interface. NOTE: This HOWTO assumes that you will be running apache as the user 'apache' and that you have already set up your Dropbox account syncing to your /home/[user]/Dropbox folder To get Dropbox running with apache and extplorer you need to get the following packages:
yum install php httpdMake the VirtualHost director and get permissions / groups correct:
mkdir /var/www/dropbox chown apache:apache /var/www/dropbox usermod -aG [user] apache usermod -aG apache [user]Now create and populate an apache virtualhost config file:
vim /etc/httpd/conf.d/dropbox.confPopulate it with the following text:
NameVirtualHost *:80Now add a username / password to access your interface via HTTP auth:DocumentRoot "/var/www/dropbox" ServerName [FQDN] allow from all Options +Indexes AuthType Basic AuthName "Dropbox" AuthUserFile /var/www/passwd Require valid-user
htpasswd -cm /var/www/passwd yourusername chown apache.apache /var/www/passwdMake sure that apache has full group access to your Dropbox folder.
chmod g+x /home/[user]
chmod g+rw /home/[user]/Dropbox
find /home/[user]/Dropbox -type d -exec chmod g+x {} \;
Download the latest version of eXtplorer from http://extplorer.sourceforge.net/
cd /var/www/dropbox wget http://heanet.dl.sourceforge.net/sourceforge/extplorer/eXtplorer_2.0.1.zip unzip eXtplorer*.zipCheck we haven't made any mistakes and set the services up:
service httpd configtest service httpd restart chkconfig httpd onYou can now log into http://[FQDN] using a browser and the default credentials (admin/admin) and set up your user, pointing the user's "Home directory:" at /home/[user]/Dropbox. Once you have set up your user you have the choice to remove the HTTP authentication which we included in the VirtualHost configuration above. Simply comment out (or delete) the following lines from your /etc/httpd/conf.d/dropbox.conf file:
AuthType Basic AuthName "Dropbox" AuthUserFile /var/www/passwd Require valid-userThat's it, you're done!