Portal Home > Knowledgebase > Articles Database > Mod_Layout Problem
Mod_Layout Problem
Posted by SmileServe, 04-15-2010, 08:14 AM |
Hello,
I have added the LayoutHeaderOff and LayoutFooterOff directives as follows however they give an 'Invalid command 'LayoutHeaderOff', perhaps misspelled or defined by a module not included in the server configuration' error when restarting Apache. Any ideas?
ServerName signup.domain.net
ServerAlias www.signup.domain.net
DocumentRoot /home/signup/public_html
ServerAdmin webmaster@signup.domain.net
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/signup.domain.net combined
CustomLog /usr/local/apache/domlogs/signup.domain.net-bytes_log "%{%s}t %I .\n%{%s$
## User signup # Needed for Cpanel::ApacheConf
suPHP_UserGroup signup signup
php4_admin_value open_basedir "/home/signup:/usr/lib/php:/usr/php4/lib/php:/usr/$
php5_admin_value open_basedir "/home/signup:/usr/lib/php:/usr/local/lib/php:/tmp"
php_admin_value open_basedir "/home/signup:/usr/lib/php:/usr/php4/lib/php:/u$
php_admin_value open_basedir "/home/signup:/usr/lib/php:/usr/local/lib/php:/$
php_admin_value open_basedir "/home/signup:/usr/lib/php:/usr/php4/lib/php:/u$
SuexecUserGroup signup signup
ScriptAlias /cgi-bin/ /home/signup/public_html/cgi-bin/
LayoutHeaderOff
LayoutFooterOff
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2/signup/signup.domain.net/*.conf"
|
Posted by vapetrov, 04-15-2010, 03:25 PM |
Error message clear: Mod_Layout not installed or not loaded.
Check your httpd.conf have proper LoadModule directive.
|
Posted by SmileServe, 04-15-2010, 03:28 PM |
It is loaded, reason being - it works. The header/footer files are added to the pages.
|
Add to Favourites Print this Article
Also Read