You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2017/07/20 15:01:19 UTC

Re: [OT] Strange 404 errors

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

George,

Please don't hijack threads. Please post a new message to the list if
you want to ask a new question.

- -chris

On 7/20/17 9:52 AM, George I. Develekos wrote:
> Hi folks,
> 
> On a Tomcat 7.0.67 installation  on CentOS 7, I have defined a
> context alias in /usr/local/tomcat/conf/context.xml . This is
> common practice for many installations I manage, it normally works
> 100%.
> 
> Yet here that alias and its content are giving me 404 errors.
> 
> The context alias is called "calllogs" and points to 
> "/home/myuser/myfolder"
> 
> Tomcat runs under myuser account.
> 
> Therefore I can't see why any entries under /home/myuser/myfolder
> would return a 404 when accessed through the context alias. I have
> also enabled dir listings, and I can't see host:8080/calllogs, it
> also gives me 404. It's as if the context alias is completely
> missing.
> 
> A different server at the same customer does not have this problem.
> _The only difference between the two servers is that the
> problematic one has a Selinux-enabled kernel. _Could this be the
> root cause? Selinux is set to permissive.
> 
> On the non-problematic server I can see host:8080/calllogs listing,
> plus all files that live under /home/myuser/myfolder, e.g. I can
> see /home/myuser/myfolder/myfile.txt via
> host:8080/calllogs/myfile.txt, as one would expect.
> 
> This problem is a show-stopper for me so I'd really appreciate your
> help.
> 
> Thanks a lot,
> 
> George
> 
> 
> 
> 
> --- This email has been checked for viruses by Avast antivirus
> software. https://www.avast.com/antivirus
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZcMW+AAoJEBzwKT+lPKRYP60P/jzmS2WA5+sV0fE7bC4oVlUJ
rmP9pdXJx4L//EeficeLF4ARgYskNjY3TXcL0AOEPMmQs9qkPg4LAQo9OMI288su
vmYwBKc50NIJtDtCa7ycCt6iID5YHyBo7Y52HuP629dTCk+2jO+w0sOEt7EXIFEv
UWnLL0hg3tniV6mARw6ATiPnqJuEQpmwa8PowSuntBIt/mCMuNpTN2BpsnfIRnQi
DpGNNHXd2y2PbbP1yfonk4g+v+LpQUtGalESdmm6rqNxi16jVhyyqWvz96YExFgL
CVDbbjZhQ0nd+PROLQqe3+soC+T3Gx6FYWC4YHtt/w/bC9sxy8fF4x55Wa3pO8Ug
c2ed4FlOKz/rYAsrI/TzThmn5MoT7eeMHElJO5fzsOaXNSFh1XsLBd1Js1VwbB5i
e5LqtmEwU5AUl72B6JEyxOzOvU28+o/isZscucypnEZhxdwwxUrNC+f6hiwgn0Y+
oMAn2o3bvyjAvoLAx1reh3YtWfGayVxwFWFidHZbN/6qbusI5Auo2c6pXLakdR6n
T5k4RuawM+rNmq9zVBLo03mlmBof/NV70CEJjQDKDJhjEZ25Zzx8tJ02tYUIpfn1
yLSsvJYYJL30UzYaAN4MNZftiSAOd9jmuMQJi+lI3nRJzrYagmaEAwNaXRI4xRqH
fk4hiQ0MKT34C26epA3b
=KE6L
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org