Hi,

I'm trying to use MacFusion (with SSHFS) as a way to access remote
files through Apache (particularly images), as though they were on my
local system. Unfortunately, it doesn't seem to be working.

MacFUSE is able to mount the remote directory fine. My setup is more-
or-less as follows:

Remote path: /home/userfoo/sharedir
MacFusion mount point: /www/mysite/sharedir
Image that I want to access: image1.jpg

In the Finder and in Terminal, I'm able to see the image where it
should be:

/www/mysite/sharedir/image1.jpg

If I open my browser, I'm able to see the image at this location:

file:///www/mysite/sharedir/image1.jpg

However, if I try to access the image through Apache, I get a 404
error. This is the path that I really need to get working, and it's
not working for me:

http://localhost/mysite/sharedir/image1.jpg

I've tried various things to fix any possible permissons issues. All
permissions on the remote shared dir are set to full (777). I've
mapped my local uid and gid using the options:

-o idmap=user -o allow_other -o uid=503 -o gid=80

But still, it doesn't work through an Apache web request.

The plan is that this particular shared media directory can be mounted
and accessed by myself and another web developer, with both of us
working on the same codebase. However, we don't want to mount and
share the entire codebase, or the entire Apache DocumentRoot (because
we still want to edit the code locally, and we want to continue to
manage our two instances of the code using a VCS).

Any idea how I can get this working? Any help would be much
appreciated.

Thanks,
Jeremy.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to