httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Spencer <ben.spen...@moody.edu>
Subject RE: [users@httpd] configuration file management
Date Sat, 30 Aug 2008 20:15:37 GMT
Thank you for the information and links.

> You should put common directives into a separate file and Include[1]
> them,
> to avoid repetition.

Does this work within a virtualhost block?

Example:
<VirtualHost *:80>
ServerName: blah.com
# include standard RewriteRules
Include conf/local/common-rewrite.conf
# site specific rules
RewriteRule .+ http://www.yahoo.com [L]
</VirtualHost>

mod_macro also seems to hold promise.

Thanks
Benji

Mime
View raw message