Symbolic links in docroot?
How can I get my J2EE 1.4 Application Server( which uses Tomcat I believe) to allow users to see files in a symbolic link in the docroot directory? I did this ... cd SUNWappserver/domain/domain1/docroot ln -s /usr/home/BB/public_html BB but when I try and access http://localhost:8080/BB/index.html I get 404 errors? __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Symbolic links in docroot?
Hello, cd SUNWappserver/domain/domain1/docroot ln -s /usr/home/BB/public_html BB but when I try and access http://localhost:8080/BB/index.html I get 404 errors? Is this file being served by Apache or by Tomcat? (The error page should make this obvious). If it's Apache, then Apache is likely unable to serve the file for any of these reasons: 1. There's a Directory element in httpd.conf prohibiting access to files in / and others that specifically allow access to other directories. 2. The permissions on the directories leading to /usr/home/BB/public_html are not set properly (apache's effective uid or gid needs to have both read and execute permission on each of those directories). 3. Apache has been setup NOT to follow synlinks. -chris signature.asc Description: OpenPGP digital signature
Re: Symbolic links in docroot?
Hi Chris, Thanks for your reply. I file is being served by Tomcat. Gsoap Acct --- Christopher Schultz [EMAIL PROTECTED] wrote: Hello, cd SUNWappserver/domain/domain1/docroot ln -s /usr/home/BB/public_html BB but when I try and access http://localhost:8080/BB/index.html I get 404 errors? Is this file being served by Apache or by Tomcat? (The error page should make this obvious). If it's Apache, then Apache is likely unable to serve the file for any of these reasons: 1. There's a Directory element in httpd.conf prohibiting access to files in / and others that specifically allow access to other directories. 2. The permissions on the directories leading to /usr/home/BB/public_html are not set properly (apache's effective uid or gid needs to have both read and execute permission on each of those directories). 3. Apache has been setup NOT to follow synlinks. -chris ATTACHMENT part 2 application/pgp-signature name=signature.asc __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]