[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason
Subject:    [Mason] RE: still getting unformatted HTML after making
From:       Jonathan Swartz swartz () transbay ! net
Date:       1999-07-27 19:13:45
[Download RAW message or body]

Well, I will put a warning about this wherever I mention DefaultType 
text/html. Thanks,

Jon

At 10:00 AM 7/27/99 -0500, James Meacham wrote:
>I've actually solved this myself, though I'm not sure what unintended
>consequences this might have.  I commented out the following lines in
>httpd.conf.  It seems that even though I had DefaultType set to text/html,
the
>mod_mime_magic.c module was still thinking that the text from mason was
>straight text.
>
>#<IfModule mod_mime_magic.c>
>#    MIMEMagicFile /etc/httpd/magic
>#</IfModule>
>
>Now it's working fine.  Just figured I'd put that in there for others who 
might
>have the same problem.  I think the folks at SuSE must have thought they were
>being helpful when they uncommented that in the default version (just like 
they
>were being helpful when they installed mod_perl by default...I was getting 
some
>very strange problems with my CGI, let me tell you).  Peace,
>
>James
>
>On 27-Jul-99 James Meacham wrote:
>> 
>> 
>> The subject more or less says it all.  After figuring out how to make my
>> machine actually run mason (a significan task, strangely) it now works but
>> returns unformatted HTML like this from the CD-me sample:
>> 
>> <!-- TOP TEMPLATE -->
>> <TITLE>Your CD Source!</TITLE>
>> <body bgcolor=#ffffff>
>> <table border=1 cellpadding=0 cellspacing=0 width=600>
>> <tr><td align=left><img src="images/disc.gif"></td>
>> <td align=center><img src="images/cdmeLogo.jpg"></td>
>> <td align=right><img src="images/disc.gif"></td></tr>
>> </table>
>> [....]
>> <!-- END TOP TEMPLATE -->
>> 
>> 
>> <h1>CD-ME category: Rock</h1>
>> <table border=1><tr><th>Artist</th><th>Title</th><th>Price</th></tr>
>> <tr><td><a href = "add_cd?id=1351758">Bryan Adams</a></td><td><a href =
>> "add_cd?id=1351758">Waking Up The Neighbours</a></td><td>$15.98</td></tr>
>> 
>> 
>> Any ideas?  I've started and restarted apache (1.3.4) a half a dozen
times. 
>> Thanks for any help.  Peace,
>> 
>> James
>> 
>> 
>> 
>> James David Meacham, 3rd
>> System Administrator/Internet Systems Specialist
>> JHU Center for Communications Programs
>> jmeacham@jhuccp.org 
>> 410.659.6967 (office)   410.619.6760 (pager)
>
>James David Meacham, 3rd
>System Administrator/Internet Systems Specialist
>JHU Center for Communications Programs
>jmeacham@jhuccp.org 
>410.659.6967 (office)   410.619.6760 (pager)
>======================================================================
>To unsubscribe: echo unsubscribe | mail mason-request@netizen.com.au
>Charter/FAQ/Archive: http://www.netizen.com.au/resources/lists/mason/
> 


======================================================================
To unsubscribe: echo unsubscribe | mail mason-request@netizen.com.au
Charter/FAQ/Archive: http://www.netizen.com.au/resources/lists/mason/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic