I noticed in teh httpd.conf file, this mod_jk setting:
> JkMount /examples/*.jsp ajp13
instead of
JkMount /examples/* ajp13
If there is no "DirectoryIndex" file (like index.html or index.htm) and
"Indexes" is not a configured option of an Apache "Directory" directive,
the "You don't have permission to access /examples/ on this server." error
_can_ occur.
Just something to check out. :)
Option: http://httpd.apache.org/docs/mod/core.html#options
DirectoryIndex:
http://httpd.apache.org/docs/mod/mod_dir.html#directoryindex
Peace...
Tom
Michael Griffith
<[EMAIL PROTECTED]
h.com> To
Tomcat Users List
12/19/2003 07:10 <[EMAIL PROTECTED]>
AM cc
Subject
Please respond to FW: mod_jk + Apache 1.3 & Tomcat
"Tomcat Users 4.1.29 on OSX (Panther)
List"
<[EMAIL PROTECTED]
rta.apache.org>
Here are the exact attributes of the /examples directory:
drwxr-xr-x 6 griff staff 204 31 Jul 19:28 examples
Am I missing something? Any other ideas?
Thanks in advance!
MG
Bill,
Thanks for chiming in -- forgive me for being so stupid, but if both
executed as root, wouldn't those permissions be default? I do think I have
some sort of permissions problem -- my mod_jk log file is zero bytes (it is
in /tomcat/logs/) and everything else looks like it is connecting up the
right way...
Cheers!
MG
----- Original Message -----
From: "Bill Barker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 11:47 PM
Subject: Re: mod_jk + Apache 1.3 & Tomcat 4.1.29 on OSX (Panther)
> First guess (and all I can do is guess at this point :): Apache needs
(at
> least) "r-x" permissions on all of the path elements leading up to
Tomcat.
>
> "Michael Griffith" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Is there something special about how to get mod_jk + Apache 1.3/Tomcat
> > 4.1.29 working together on OSX? I was able to successfully configure
my
> > Win32 box using these components, but on the OSX platform I get the
> > following Errors:
> >
> > On the page:
> >
> > Forbidden
> >
> > You don't have permission to access /examples/ on this server.
> > Apache/1.3.28 Server at localhost Port 80
> >
> > In the error_log in /var/log/httpd:
> >
> > [Thu Dec 18 10:34:49 2003] [error] [client 127.0.0.1] (13)Permission
> denied:
> > access to /examples/ failed because search permissions are missing on a
> > component of the path
> >
> > My mod_jk.log file is zero bytes.
> >
> > I am starting both the Apache Server and Tomcat as root. I have checked
> the
> > permissions on mod_jk.so.
> >
> > I am not using the auto generation of the mod_jk.conf file, instead I
have
> > added the following to my httpd.conf file:
> >
> > # Load MOD JK
> > LoadModule jk_module libexec/httpd/mod_jk.so
> >
> > # Configure Mod JK File
> > JkWorkersFile /tomcat/conf/jk/workers.properties
> > JkLogFile "/tomcat/logs/mod_jk_log.txt"
> > JkLogLevel info
> >
> > JkMount /examples/*.jsp ajp13
> > JkMount /examples/servlet/* ajp13
> >
> > Alias /examples/ "/tomcat/webapps/examples/"
> >
> > <Directory "/tomcat/webapps/examples">
> > Options Indexes FollowSymLinks
> > AllowOverride None
> > Order allow,deny
> > Allow from all
> > </Directory>
> >
> > <Location /*/WEB-INF/*>
> > AllowOverride None
> > Deny from all
> > </Location>
> >
> > Please, any help would be appreciated!
> >
> > Michael Griffith
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------ End of Forwarded Message
------ End of Forwarded Message
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]