Hi, Parvez.

 I had this problem recently too.  The problem was that, since Apache
was run as nobody, permissions had to be granted to "others" for the _entire_
path of the application's directory.  So, if your application is set to run
out of /home/parvez/mywebapp/htdocs for example, you have to set each of
those directories to be readable (I think that's all you need - possibly
executable as well though) by others.  In my case, I just set permissions on
the directory at the end of the path, but I had to go through and also set
permissions on my user directory which I had overlooked.  I hope that this
does it for you.

Good luck...
-Jeff





[EMAIL PROTECTED] on 12/29/2000 01:13:37 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: 403 forbidden in tomcat-apache

thanks,

i got the mod_jk.so working now on my machine.
but somehow i cannot get it working on the other machine.
on my machine i have ...
1. apache user parvez:parvez
2. permisions to htdocs -> parvez:parvez
3. permissions to jsp/servlets -> parvez:parvez
and it works....

but on the other machine
1. apache user nobody:nobody
2. permisions to htdocs -> admin:admin
3. permissions to jsp/servlets -> admin:admin
and apache gives and error ..."403 Forbidden"

where am i going wrong...
also do i have to start tomcat as root.

parvez


And Then  NSB)Hiroshi Kasamatsu wrote .............

> There seems to be no mod_jk.so for Tomcat3.2.1.
> If you do'nt mind,better to use Tomcat3.2 beta version.
>
> You cannot access directly.
>
> You try like this.
> 1.access to http://jakarta.apache.org/
> 2.click Binaries on Download area
> 3.click Tomcat3.x on Nightly Builds
> 4.click Parent Directory
> 5.click arcihves/
> 6.click link you want
> 7.click bin/
> 8.click linux for linux or win32 for windows
> 9.click i386
> 10.click mod_jk.so
>
>
> Parvez wrote:
>
> > i cannot find /src/native/apache to compile mod_jk.so
> > i have looked into tomcat 3.2.1 distribution, everywhere.
> > where can i find it.
> > parvez
> >
> > And Then  NSB)Hiroshi Kasamatsu wrote .............
> >
> > > For tomcat 3.2 or up,mod_jk.so is needed.You should download, copy it
into your
> > > apache directory/libexec and include "your apache
directory/conf/mod_jk.conf-auto"
> > > into the last line of httpd.conf.The latter is automatically created
when Tomcat is
> > > exclusively initiated on port 8080.
> > > To check,http://localhost/examples is pointed to browser.In Tomcat and
apache,port
> > > 8080 is't used.
> > >
> > >
> > > Parvez wrote:
> > >
> > > > hi,
> > > >
> > > > i have installed tomcat 3.2.1, with apache 1.3.12 on a linux machine.
> > > > it works perfectly fine on port 8080, but when i include it with
> > > > apache conf (i.e. tomcat-apache.conf) and try to access the same
jsp/servlet
> > > > file, it gives 403 forbidden error.
> > > > my http user in apache is "nobody:nobody" and my htdocs is conrolled
by "admin".
> > > > can someone tell me, where the problem is?
> > > > thanks in advance.
> > > >
> > > > parvez

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to