Magic numbers in Apache modules.d files

Christian Ullrich chris at chrullrich.net
Tue Sep 6 19:30:26 UTC 2016


Hello,

I'm porting an Apache module and noticed that there is apparently a recent move to installing modules by creating individual files in etc/apache2x/modules.d, named for the module and with some number prefixed. Do I get to make that number up, or is there a rule to select it?

I found https://reviews.freebsd.org/D7460, but there the numbers are only discussed, not explained, and none of the module ports that currently use this convention (mod_wsgi4, mod_dav_svn, mod_perl2, mod_log_sql2) include any explanation in their commit messages or PRs as to where the number came from (except that it appears to have come from ohauer@ in each case).

Thanks,

-- 
Christian


More information about the freebsd-apache mailing list