Issues getting this to work with Apache 2.2 / mod_layout 5.1
I've filtered though this thread for most of the day (as it has the most information related to my issues) and I still cannot get the ads to show on client sites.
-I have followed the instructions to the dot:
-downloaded mod_layout 5.1 for Apache 2.2
-unzipped & edited Makefile to show path to APXS
-make, make install....
-verified in phpinfo.php that mod_layout is showing as a handler
-downloaded and unzipped the other zip to /scripts
-edited mod-layout.conf.php to show valid values (root account packages no reseller prefix)
-renamed postwwwacct.php to postwwwacct and chmod 755
-restarted httpd.conf
On WHM account creation, I see where it runs postwwwacct:
Code:
System has 1 free ip.
Running post creation scripts (/scripts/legacypostwwwacct, /scripts/postwwwacct, /scripts/postwwwacctuser)......Done
This is my mod-layout.conf.php:
Code:
<?php
/**
* /scripts/postwwwacct configuaration for mod-layout ...
*/
$config = array(
'admine' => 'removed on purpose', # Administration email address, MAKE SURE YOU CAN READ THESE EMAILS
'timestamp' => DATE_RFC822, # Date format, for most people default is good
'httpd.conf' => '/usr/local/apache/conf/httpd.conf', # Location of httpd.conf to edit
'plans' => array( # Array of plans you want to apply ads on
'Free Hosting', # Plan one and then a comma ( if only one plan no comma needed after it's name )
'free' # Plan two NO COMMA because there are no more plans ....
),
'ads' => array(
'header' => '/home/inxangoo/public_html/ad.html', # HTML file containing the code for header ads
'footer' => '/home/inxangoo/public_html/powered.html' # HTML file containing the code for footer ads
),
);
?>
I am 100% stumped at this point and will take whatever assistance I can get.