apache2 - Compiled Apache – no conf-enabled/conf-available/mods-available etc. folders - Ask Ubuntu
i compiled apache (httpd-2.4.23) using these commands:
apache_confdir=/etc/apache2 apache_envvars=$apache_confdir/envvars cflags="-o2 -dbig_security_hole" ./configure --prefix=$apache_confdir make make install
however, there folders conf-enabled/conf-available/mods-available etc. missing. do wrong or kind of new folder structure?
there folders conf
, modules
also, there no commands a2ensite
, a2enmod
etc. in /usr/sbin
, can't find them anywhere. thank you
a large part of distribution ubuntu integrate large number of different software multitude of different origins , combine them coherent system. that, in many cases original software has adapted or extended.
that's case apache. whole *-available
, *-enabled
structure not apache projects doing, speak, part of how debian integrated apache httpd distribution. therefore, you'll find in debian , debian-based distributions ubuntu, not in "original" apache compiled yourself.
but it's not hard build structures yourself. need create folders yourself, , have apache read configs in there includeoptional
directive in apache.conf
. that's debian version of apache.conf
does:
... # include module configuration: includeoptional mods-enabled/*.load includeoptional mods-enabled/*.conf ... # include generic snippets of statements includeoptional conf-enabled/*.conf # include virtual host configurations: includeoptional sites-enabled/ ...
the commands a2ensite
, a2enmod
, forth part of debian integration. in fact, of symbolic links on a2enmod
, perl script. of them add (a2en*
) or remove (a2dis*
) symbolic links respective *-available
directory *-enabled
directory. example, a2ensite mysite.conf
create symlink in site-enabled/mysite.conf
refers site-available/mysite.conf
. , sites-enabled
directory can integrated in apache.conf
, shown above.
so can create symlinks ln -s
, or can write little script in language of choice that.
Comments
Post a Comment