On Mon, Jan 27, 2003 at 06:34:26PM +0200, Development Team wrote:
HTTPD_CONF_INCLUDE_FILES=/opt/OpenTRS/scripts/susehttpd.include.conf /etc/httpd/virtual.conf
my virtual.conf file includes what i should add to httpd.conf for some virtual hosts:
ServerName Kalamaria.net DocumentRoot /home/gmich/public_html/kalamaria.net Options All MultiViews TransferLog /var/log/httpd/kalamaria-access.log ErrorLog /var/log/httpd/kalamaria-error.log ServerAdmin webmaster@kalamaria.net </VirtualHost> When i execute Suseconfig, i get these messages: Executing /sbin/conf.d/SuSEconfig.apache... /etc/httpd/virtual.conf: line 1: syntax error near unexpected token `*>' /etc/httpd/virtual.conf: line 1: `
' and of course my include file is not added to httpd.conf...
Whats happening ? Is this a misconfiguration problem, or a Suse 8 bug ?
SuSEconfig is trying to execute the configuration file as a shell script because you have a linebreak in /etc/sysconfig/apache file that shouldn't be there. Be aware that HTTPD_CONF_INCLUDE_FILES can take more than one value but you need to enclose them in quotes like this: VAR="value1 value2" Peter