Is your Apache DocumentRoot set to the component root? It shouldn't need to be, 
and this might be leading Apache to set the unix-directory type.

On Mar 17, 2011, at 2:04 PM, Larry Owen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm having an issue using Mason2/PSGI/Apache2.  When I go to
> http://mysite/index everything is fine, however http://mysite/ renders
> index.mc but incorrectly sets the content type httpd/unix-directory
> 
> I changed DefaultType in the apache conf to text/html
> 
> even tried adding $m->res->content_type('text/html') to Base.mc
> 
> any suggestions?
> 
> ~larry
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iQEcBAEBAgAGBQJNgndqAAoJENqwB7e2GmF4HKgH/28J8rhEYsrcG3fHW+YFXMBn
> 5ROZdc8vXmUX9JrYJpTF2rYQuGBN9+jA8we3w2ef5fBDpMZYrpMZ7jpa4jZ0lzb3
> zdZz2AUrySSg35yJVcP7NGyaHkBb5fUoK63Git57yfL+rBfnkQP/3bVqSdZ+UBVe
> B553eF/mERYP4725ti1lSfif/bK5U5DXidhrW+QvDocvMzktpmRk3sIGF3pOiK33
> xv5J61Ft0W/J7Jad/8D5Vvd9kAF2PwX5mzJgTciH+9t633tpPuyVezI/USCzCmyL
> TBo2owH24tnbW+Qd8i9XlBP3XjD0akF0vBbYHdbnGhXwL4JpI0p+cUfsI5ILGuU=
> =sqkt
> -----END PGP SIGNATURE-----
> 
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Mason-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-users


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to