Michael Hogan
2006-Sep-23 17:04 UTC
[Samba] Apache problem accesing SMB Symlink - OS X 10.4.7
I'm having trouble accessing shared music with Apache. I'm running Apple OS X 10.4.7 with Apache 1.3.3. I can connect via SMB to my Windows XP Pro box. I can browse, read, and write without any problems using Finder. So in WebServer/Documents I have a symbolic link to that SMB connection called DATA. In a web browser, if I go to: file:///library/webserver/documents/data/songx.mp3 It plays no problem. However, if I do: http://localhost/data/songx.mp3 I get: "403 Forbidden. You don't have permission to access /Data/songx.mp3 on this server." I thought to change permissions, I could do: chmod -R -L 777 Data But that has no effect. What's going on here?? What can I do to resolve this?
Felipe Augusto van de Wiel
2006-Oct-03 14:35 UTC
[Samba] Apache problem accesing SMB Symlink - OS X 10.4.7
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/23/2006 01:56 PM, Michael Hogan escreveu:> I'm having trouble accessing shared music with Apache. > I'm running Apple OS X 10.4.7 with Apache 1.3.3. > > I can connect via SMB to my Windows XP Pro box. I can browse, read, > and write without any problems using Finder. > > So in WebServer/Documents I have a symbolic link to that SMB > connection called DATA. > > In a web browser, if I go to: > > file:///library/webserver/documents/data/songx.mp3 > > It plays no problem. > > However, if I do: > > http://localhost/data/songx.mp3 > > I get: > > "403 Forbidden. You don't have permission to access /Data/songx.mp3 on > this server." > > I thought to change permissions, I could do: > > chmod -R -L 777 Data > > But that has no effect. > > What's going on here?? What can I do to resolve this?I was thinking about two possible points: 1) Your FollowSymLink setup in Apache 2) Your access control in smb.conf for Apache user Kind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFFInUHCj65ZxU4gPQRAhiHAJ4v63CpbWfgf/kEiW+HqU8rXf4iXgCghi7/ yOPRTYWQMcwnpDlG6/jFh9Q=z42/ -----END PGP SIGNATURE-----