Denise:

Once Apache starts up, it runs as user nobody, not root.

Jerry

Denise Mangano wrote:

Bill,

As of right now starting from my tomcat folder down, permissions are 774
(rwx owner and group, r other). The only variant is that my webapps folder
(including everything in it) has 775 (rwx owner and group, rx other). What
is odd is that the jsp files that I uploaded I can see without using port
8080. And these jsp's have the same permissions as the examples folder and
files within it.

Also, apache runs as root - so wouldn't it have permissions?
Thanks.
Denise

-----Original Message-----
From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 22, 2002 9:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Configuring mod_jk - Again! [getting desperate]


Apache requires at least rx permissions on all directories upto and
including $CATALINA_HOME/webapps/examples/servlets. You have to check the
permissions all the way up the tree.

"Denise Mangano" <[EMAIL PROTECTED]> wrote in message
5D83C44941AFD4118B6F0002B302984F4385C5@EXCHANGE_SERVER">news:5D83C44941AFD4118B6F0002B302984F4385C5@EXCHANGE_SERVER...

I am running Linux 7.3. I checked all relevant pages and directories.

All

pages are at least read by everyone. I can get to my index page no problem which is in the /var/www/html directory. It is when I try to access anything in Tomcat without using the port number that I get this

permissions

error from Apache.

For some reason I can also access a couple of JSP pages I placed in the

ROOT

directory without using the port number, but nothing else. I checked to

see

if there were any differences in permissions between those pages, and the example pages, but there aren't. In fact, all permissions in Tomcat are

775

(rwx for owner and group, rx for other).

Thanks.
Denise


-----Original Message-----
From: Kief Morris [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 22, 2002 7:36 AM
To: Tomcat Users List
Subject: RE: Configuring mod_jk - Again! [getting desperate]


Denise Mangano typed the following on 22:41 21/12/2002 -0500

Sorry, should have posted this... When I type in http://localhost/examples/servlets/ I now get a Forbidden message saying that I do not have permission to access /examples/servlets/index.html. This message is coming from my Apache at mydomain.com Port 80.

I feel like I may be getting close, but why this? I believe Tomcat is still listening on port 8080 - does that have to be changed? Since I get this error message, I am assuming that I am getting to the files (indicating that mod_jk may possibly be working) but the files cannot be served. Permission issue in httpd.conf file or somewhere in server.xml??

Check permissions on the file system. If you're on Unix, Apache usually

runs

as "nobody", so the index.html file needs to be world-readable. If you're

on

Windows, make sure the file isn't opened in an editor or something. You shouldn't need to change Tomcat's port number, and it doesn't seem likely

it

would be an httpd.conf issue (and certainly not server.xml if Apache is giving the error).

Kief


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to