Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please help me with mod_layout

Discussion in 'General Discussion' started by hexstar, May 23, 2006.

  1. hexstar

    hexstar Active Member

    Jun 23, 2004
    Likes Received:
    Trophy Points:
    Please, I need help with getting mod_layout to work. Basically, I'm trying to get a html page for header and footer to work for ads on sites, running Suse 10, Apache 1.3.34, and cPanel version 10.8.2-RELEASE 83, currently only the header html file contains ad code, it's the google javascript ad code. I've tried putting in

    LayoutDefaultHandlers Off
    LayoutHandler text/html

    but in the error_log for apache I still get an 500 error for the header and footer saying "premature end of script" like it's expecting it to still be a cgi/php script...running the latest version of the mod_layout module ( 3.2.1) which compiled and installed without errors, can anyone please help? What am I doing wrong? What do I need to do to get this to work? Thanks!

Share This Page