[opencms-dev] Help with OpenCms 12 under Tomcat 8.5 on easyapache 4
Hein van der Kallen
hvanderkallen at xs4all.nl
Sat Feb 12 17:54:01 CET 2022
Ivan
It is cpanel ( or to be precise the configuration of apache as installed by
cpanel) that tries to access a 403.shtml file as a reaction a 403 error in
apache.
You can change that in apache, but that does not solve your problem.
Your root problem is the 403 error.
I suspect the following root cause: (sorry if I am wrong)
You installed Opencms on a tomcat user. That user is the owner of the
installed files.
But when apache tries to access files installed by opencms, the user-account
that runs apache must be able to read the files installed by opencms.
So make all directories and files installed by opencms up and below your
installed ROOT directory readable and executable for all user-accounts.
Rights : 0755 : writeable only by owner, but readable and executable by all
others ( including httpd or apache).
To make sure that all new files created later by tomcat are readable by
apache restart your tomcat-service with the following line added:
Environment='UMASK=0022'
Hein van der Kallen
Van: opencms-dev <opencms-dev-bounces at opencms.org> Namens Ivan Drinks Sr via
opencms-dev
Verzonden: zaterdag 12 februari 2022 08:42
Aan: Jan Michael Greiner <jan0michael at yahoo.com>; opencms-dev at opencms.org
CC: Ivan Drinks Sr <ivan.sr at reality-technology.com>
Onderwerp: Re: [opencms-dev] Help with OpenCms 12 under Tomcat 8.5 on
easyapache 4
Yes, I do.
Is there a way to create a custom 403.shtml page in OpenCms or forward it to
Apache somehow? Based on my research and articles concerning this that seem
to be the solution.
Warm Regards,
Ivan Drinks Sr.
Executive Vice President
Locations:
Kansas City, Missouri Phone: 816-929-8375 Fax: 816-265-2741
Denver, Colorado Phone: 303-757-1107 Fax: 303-757-1108
Email: ivan.sr at reality-technology.com
<https://east.exch027.serverdata.net/owa/redir.aspx?C=em83b8dYdEOVXQd1qGFCWB
xgyD7sCNEIZLgKN7bYhTZmmZLEu4Ma-ShAXycJzf-SvPt1WfSe4DE.&URL=mailto%3aivan.sr%
40reality-technology.com> Website: www.reality-technology.com
<http://www.reality-technology.com/>
CONFIDENTIALITY NOTICE: This e-mail message including attachments, if any,
is intended for the person or entity to which it is addressed and may
contain confidential and/or privileged material. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies
of the original message.
_____
From: Jan Michael Greiner <jan0michael at yahoo.com>
Sent: Friday, February 11, 2022 11:39 PM
To: opencms-dev at opencms.org <opencms-dev at opencms.org>
Cc: Ivan Drinks Sr <ivan.sr at reality-technology.com>
Subject: Re: [opencms-dev] Help with OpenCms 12 under Tomcat 8.5 on
easyapache 4
Hello Ivan,
I am not familiar with easyapache and CPanel.
Do you have mod_proxy, mod_proxy_ajp and mod_rewrite enabled in Apache?
Best regards,
Jan Michael Greiner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20220212/98401934/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 917 bytes
Desc: not available
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20220212/98401934/attachment.jpg>
More information about the opencms-dev
mailing list