Re: problems setting up mason in CentOS 6

Richard Welty <[email protected]> Wed, 6 Jan 2016 00:53:17 -0500
Newsgroups gmane.comp.web.mason.user
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============1512380074399580860==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="eRWPeH81f048QS79eDWNRnu3ExskR0d1d"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--eRWPeH81f048QS79eDWNRnu3ExskR0d1d
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 1/6/16 12:26 AM, Adam Sj=C3=B8gren wrote:
> Richard writes:
>
>> i am using .mhtml for the components, but the exposed web pages
>> are all .html and i want mason to process them.
> [...]
>
>>     <LocationMatch "\.m+html$">
> Don't you want "\.m?html$" here?
>
> "m+" means "one or more 'm's". I think you want "m?" meaning "zero or
> one 'm's".
yeah dumb mistake. spotted it a couple of minutes ago, fixed it and have
moved on.

now getting an internal server error. saw some selinux issues, ran
audit2allow and
cleaned that up, but still getting the internal server error. apache log
says it's a
permissions problem with mason-data but i don't see the issue and i
don't see any
new selinux messages in audit.log

ls -ld /web/na-motor/mason-data/
drwxr-xr-x. 2 apache apache 4096 Jan  6 00:51 /web/na-motor/mason-data/

[Wed Jan 06 00:51:31 2016] [error] [client 104.236.140.111] Cannot
create directory '/web/na-motor/mason-data/obj' (mkdir
/web/na-motor/mason-data/obj: Permission denied at
/usr/share/perl5/HTML/Mason/Interp.pm line 301.\n) for user 'apache',
group 'apache'. Perhaps you need to create or set permissions on your
data_dir ('/web/na-motor/mason-data'). \nStack:\n=20
[/usr/share/perl5/HTML/Mason/Interp.pm:318]\n=20
[/usr/share/perl5/HTML/Mason/Interp.pm:222]\n=20
[/usr/share/perl5/HTML/Mason/Interp.pm:169]\n=20
[/usr/share/perl5/HTML/Mason/Interp.pm:155]\n=20
[/usr/share/perl5/Class/Container.pm:329]\n=20
[/usr/share/perl5/Class/Container.pm:53]\n=20
[/usr/share/perl5/HTML/Mason/ApacheHandler.pm:632]\n=20
[/usr/share/perl5/HTML/Mason/ApacheHandler.pm:411]\n  [(eval 35):6]\n=20
[-e:0]\n

--=20
[email protected]
 Averill Park Networking - GIS & IT Consulting
 OpenStreetMap - PostgreSQL - Linux
 Java - Web Applications - Search



--eRWPeH81f048QS79eDWNRnu3ExskR0d1d
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJWjKvOAAoJEKL/niN4P3QWvV4QAIg/fEglWu4DOzAYP5xNjMQ5
cQYMKlgoCHmi7JKnSuzPVPvmDt6PBYWpFUYupCfDEL8lVFvz9kDGmGCULDGVsLfH
ukjy1ClSeUCU2WZMnHWaxEgLD1mkE6vqyULDakxvkZJ7tLdjQaH2fA6f8kaFb5+R
7N36CbJCnZHPfpNXSXK7NYbC2Ixjou5O44ppYFtwH2hLiHM4j4lRU8U4ImngjvCB
POr+haNyCgSQBBVMvvpGR6ZMUY2Imm6symw/JD4BPj9O4GgkjOL9Gcx0EI1fCz3V
W8xc7U0oXca19d3GCc/AxgTSJzkYC0saFneV5JwpZL4x/SF027Oeqzjkhie9ovIj
ANuqv36VyJ8Or4x59yT0xq5BExrThzXcIdX5Bs+c/YHnneBp5/imjYLy81WXL7cD
JUT3dce/ThxdN/oAfhRC7Pirae4scsef9VrBjBE57xL/ipBMmeTta4qQMea18fs0
/1jijmjwZfb98QJMhMarYGOt613BJ/0f8j8AgVrZuhCA10V8HpAau0heAdpwccOV
u184CuciQPD/fqRXQttSP4A2dLn+TcJ4XlhGYrgqIKXd1e9y3r7F0jF1MyguxP12
tlCpH6wflT/auJ4FJZiNd4/6tHnE1sLjNHriSZQcg6FRNQgtH8QHiS6wOgKuw+GZ
+IPe3yN/h5ETbSBoWxbP
=npi6
-----END PGP SIGNATURE-----

--eRWPeH81f048QS79eDWNRnu3ExskR0d1d--


--===============1512380074399580860==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============1512380074399580860==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

--===============1512380074399580860==--