Bug 74135

Summary: no syntax recognition for httpd conf.d files
Product: [Retired] Red Hat Linux Reporter: Chris Ricker <chris.ricker>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-02 13:10:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Ricker 2002-09-16 19:05:05 UTC
The RH packages of httpd require several configuration files,
/etc/httpd/conf/httpd.conf, and also all the configuration files in
/etc/httpd/conf.d:

[kaboom@hanuman html]$ ls -1 /etc/httpd/conf.d/*conf
/etc/httpd/conf.d/auth_mysql.conf
/etc/httpd/conf.d/auth_pgsql.conf
/etc/httpd/conf.d/perl.conf
/etc/httpd/conf.d/php.conf
/etc/httpd/conf.d/python.conf
/etc/httpd/conf.d/squirrelmail.conf
/etc/httpd/conf.d/ssl.conf
[kaboom@hanuman html]$ 

vim correctly recognizes httpd.conf as an apache config file, and does
appropriate syntax highlighting, but it fails to recognize the configuration
files in /etc/httpd/conf.d as also being apache config files.  They don't get
any syntax highlighting....

Comment 1 Karsten Hopp 2002-10-02 09:15:10 UTC
fixed for auth_mysql.conf, auth_pgsql.conf and ssl.conf. 
The syntax will be set based on the filename and I'm not sure if there 
are other files with these names, therefore I've omitted the others.

Comment 2 Chris Ricker 2002-10-02 13:10:06 UTC
Cool, thanks!  The other four files used in RHL 8:

[kaboom@hanuman spamassassin-2.31]$ locate perl.conf
/etc/httpd/conf.d/perl.conf
[kaboom@hanuman spamassassin-2.31]$ locate php.conf
/etc/httpd/conf.d/php.conf
[kaboom@hanuman spamassassin-2.31]$ locate python.conf
/etc/httpd/conf.d/python.conf
[kaboom@hanuman spamassassin-2.31]$ locate squirrelmail.conf
/etc/httpd/conf.d/squirrelmail.conf
[kaboom@hanuman spamassassin-2.31]$ 

are safe to support as well; on an Everything install system, the only files
with those names are in /etc/httpd/conf.d, so they are unique

Comment 3 Karsten Hopp 2002-10-02 13:32:29 UTC
Thanks for checking these files ! 
I've included them now.