Apache Server configuration support - suse and yast httpd config issues

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2006 > suse and yast httpd config issues





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author suse and yast httpd config issues
David Bear

2006-02-17, 10:30 pm

Suse uses a log of includes in various http.conf files. They use the syntax

Include /etc/apache2/vhosts.d/*.conf

to include all files named .conf.

I wanted to enable ssl so I copied one of their template files in vhosts.d
to ssl.conf.

when I do an apachectl configtest I get an error :

Expected </Files> but saw </VirtualHost>

So, now I need to move up the include chain to find out what directive
didn't get closed properly. (correct?)

are their any tools that I can run that would read the main config file and
spit out the complete config as apache would see it when it loads?

--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
MikeDawg

2006-02-17, 10:30 pm

apachectl -t

dwbear75@gmail.com

2006-02-21, 5:56 pm


MikeDawg wrote:
> apachectl -t


Thanks. and I did try it. The trouble is that it doesn't tell me
anything new:

/usr/sbin/httpd2 -t -D /etc/apache2/vhosts.d/yast2_vhosts.conf
Syntax error on line 28 of /etc/apache2/vhosts.d/ppsrv11.conf:
Expected </Files> but saw </VirtualHost>

And this error is completely false. Line 28 of vhosts.d/ppsrv11.conf
contains an <IfDefind SSL> directive, NOT a </files> directive.

I the httpd.conf is just a skeliton with a bunch of includes. I don't
know if the includes are done in the order they appear in the conf
file, or if apache has its own order for including them... but this is
completely maddening.

Any other advice?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com