You are not logged in.

#1 2008-05-17 00:31:31

Sean-Der
Member
Registered: 2007-09-30
Posts: 88

HTTPD And /Home shariing

How can I share my folder in home directory /home/sean/Documents/Music read-only while making no other part of my ~home readable? If not can I share my whole home just by doing the www.url.com/~sean

Offline

#2 2008-05-17 01:54:36

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: HTTPD And /Home shariing

symlinks doesn't work?


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#3 2008-05-17 02:03:56

Sean-Der
Member
Registered: 2007-09-30
Posts: 88

Re: HTTPD And /Home shariing

Re: Ampache and ~ Music
ln: creating hard link `./Music' => `/home/sean/Documents/Music': Operation not permitted

I did this a root and it still gives me this error!

Offline

#4 2008-05-17 04:56:37

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: HTTPD And /Home shariing

See my post in your other thread, and please don't double post.


.:[My Blog] || [My GitHub]:.

Offline

#5 2008-05-17 07:35:26

utore
Member
From: USA
Registered: 2008-01-27
Posts: 67
Website

Re: HTTPD And /Home shariing

You could always edit the httpd-userdir.conf file in /etc/httpd/conf/extra and change the UserDir option to Documents/Music. You'll also need to change the hard link in the next section to your music and that should allow read-only permissions in /home/sean/Documents/Music.

Make sure you restart the httpd daemon after making the changes or you won't be able to see the changes in your browser.

Last edited by utore (2008-05-17 18:26:04)


Something witty.

Offline

Board footer

Powered by FluxBB