Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    23

    Default Mod_layout

    HI,

    I plan to start using Mod_layout to reduce my need for SSI. Has anyone used Mod_layout on a cpanel box?? Are there any special issues I need to know about when setting it up on a cpanel box.

    thanks

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    23

    Default

    I'll reply to my own question just in case anyone else needs to know...

    Tonight I replaced my SSI banner rotation with Mod_layout. No issues on installation. Server seems to be happy and the load seems to be slightly reduced.

  3. #3
    Member
    Join Date
    Sep 2002
    Posts
    123

    Default

    How did you get it installed. I want headers and footers added to every page on the server on every domain created. Can you post detailed instructions on how to install it?

    Thanks!

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    23

    Default

    HI,

    I only added headers and footers to one domain, about 150,000 pages. So far it's pretty painless, a few issues with files left in /tmp What I needed was the ability to turn off the headers on a few paid member directories.

    installation was easy. I compiled the module, move it in the /usr/local/apache/libexec directory, added the module lines to the httpd.conf and then a few lined to the virtual host entry for the domain I'm using it on. The directions included are very good and it is really simple. I'm currently using the latest 2.xx.xx release because I had issues with LayOutHeaderOff in the 3.xx versions.



    &Directory /home/*********/public_html/&
    LayoutDefaultHandlers Off
    LayoutHandler text/html
    LayoutHandler text/x-server-parsed-html
    LayoutFooter /home/*********/boards/copyright.txt
    LayoutHeader /home/**********/boards/banner.txt
    LayoutMerge on
    #LayoutComment On
    LayoutIgnoreURI *.cgi
    LayoutIgnoreTag &******&
    &/Directory&

  5. #5
    Member
    Join Date
    Sep 2002
    Posts
    123

    Default

    Do you know how to make it so every domain that is created has headers and footers?

  6. #6
    Member
    Join Date
    Sep 2001
    Posts
    251

    Default

    You could just change it so the directory directive's path is /home/ and then whatever layout rules you set should be applied to all sites under it.

  7. #7
    Member
    Join Date
    May 2002
    Posts
    119

    Default

    Hi,

    Please give a clear explanation step by step how to install mod_layout on my server. how to compile it using apache etc.

    Thanks.

  8. #8
    Member
    Join Date
    Sep 2002
    Posts
    123

    Default

    Can someone PLEASE post EXACT details on how to install mod_layout. I need it so it will automatically ad headers and footers to every domain's files. Wehn you say &compile&, I don't even know how that is done. Please be as detailed as you possibly can. You will be my hero if you can do this.

    Thanks!

  9. #9
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    If I may, I have a few questions as well.

    I can see the advantage of the mod as it means the SSI call does not have to be added to each page. Although this can be done easily enough with a S&R Perl script, the convenience of automagically having it done for each new account/web page created, is really nice - without mod_perl even -- or is that a pre-requisite?

    It doesn't sound as if you used WHM & Software & Install a Perl Module for this (maybe it cannot be installed this way?), and I was wondering if you tried it and failed or just prefer to do this sort of thing manually?
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  10. #10
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    I'm also interested as cannot get make to work for the lastest release of mod_layout, and when I try the 3.2 version is complains about DSO not available under my platform.

    So, YES PLEASE, post anything you have that may help us all.
    Regards,
    David
    Forum Moderator

Similar Threads & Tags
Similar threads

  1. mod_layout
    By phantom in forum cPanel and WHM Discussions
    Replies: 38
    Last Post: 12-31-2006, 07:50 PM
  2. Please help me with mod_layout
    By hexstar in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-23-2006, 05:02 PM
  3. mod_layout...how to use?
    By Spirid in forum New User Questions
    Replies: 3
    Last Post: 11-02-2004, 10:48 PM
  4. How do you install mod_layout?
    By Valetia in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-29-2003, 08:24 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube