You are not logged in.

#1 2012-05-07 03:55:27

bws
Member
Registered: 2011-12-05
Posts: 33

[SOLVED] run ~/public_html from usb stick

Hey everyone,

I have two Arch machines which I do some light web dev work on and I'm looking for an easy way to share files between the two.

I have an encrypted usb drive that I've mounted to ~/public_html, edited the httpd-userdir.conf to point to the right folder, and changed the permissions, however I keep getting error 403 when I try to access the folder.  Not sure what else to look at or if I'm just making this harder than it needs to be....

Any help is appreciated,

Thanks!

Last edited by bws (2012-05-11 21:55:17)


All the best people in life seem to like Linux.
  ~ Steve Wozniak

Offline

#2 2012-05-07 04:13:38

bws
Member
Registered: 2011-12-05
Posts: 33

Re: [SOLVED] run ~/public_html from usb stick

I've *sort of* fixed this by changing my document root in httpd.conf to the ~/public_html folder.  It's not exactly what I'm looking for though...., but at least its working.


All the best people in life seem to like Linux.
  ~ Steve Wozniak

Offline

#3 2012-05-11 21:55:01

bws
Member
Registered: 2011-12-05
Posts: 33

Re: [SOLVED] run ~/public_html from usb stick

Well after much tinkering I couldn't get it to work properly.  So instead I just created  folder in /srv/http called usb and have my usbdrive mounted there.  In the end it does what I was looking for to begin with.


All the best people in life seem to like Linux.
  ~ Steve Wozniak

Offline

Board footer

Powered by FluxBB