HostwareSupport-Linux Hosting technical support for cPanel, Plesk, Directadmin servers

Linux Hosting technical support for cPanel, Plesk, Directadmin and No control panel servers offers and listing
http://hostwaresupport.com/

May 18, 2010

Template Error: The template file must be given.

My site give me the following error when brows ..

(problem shows because of wrong httpd.con configuration for the domain it shows you the following error insted of default cpanel page )

Template Error: The template file must be given.

Following solution will be smile on your face ;)
Solution:

1. Problem should be with the wrong httpd.configuration for the domain
/scripts/rebuildhttpdconf should be resolve your problem if not

2. Then try
root@server[#] vi /etc/httpd/conf/httpd.conf


ServerName domain.com
ServerAlias www.domain.com
DocumentRoot /home/username/public_html/
ServerAdmin webmaster@domain.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/domain.com combined
CustomLog /usr/local/apache/domlogs/domain.com-bytes_log
ScriptAlias /cgi-bin/ /home/username/public_html//cgi-bin/
Include “/usr/local/apache/conf/userdata/std/2/domain.com/*.conf”

:wq!

3. /etc/init.d/httpd restart

This should be fixed the problem

No comments:

Post a Comment