On Sat, Jan 4, 2014 at 5:17 AM, Dave Greebe <d...@greebe-webdesign.nl>wrote:

> Hello,
>
> I'm new with compiling apache 2.4.7, but learning every day.
> I'm struggling with enabling SSL for a few days and i'm still not getting
> it to work.
>
> I have my source of apache in;
>
> /usr/local/src/httpd-2.4.7/
>
> I have tried a couple of configure commands but still not getting it work..
>
> ./configure --with-ssl
> ./configure --enable-ssl
> ./configure --with-ssl=[path to my openssl]
>

If OpenSSL is in an odd location, you'd need both "--enable-ssl
--with-ssl=[path ...]".


>
> As my last resort I tried;
>
>  ./configure --enable-mods-shared=reallyall --enable-load-all-modules
>

Note that httpd.conf is not overwritten once it has been installed the
first time.  See <PREFIX>/conf/original/httpd.conf.


>
>
> After make && make install, I checked what modules were enabled by;
>
> ./apachectl -M
>
> but in that list, I don't see SSL or anything at all.
> My list is not very long;
>
> oaded Modules:
>  core_module (static)
>  so_module (static)
>  http_module (static)
>  mpm_event_module (static)
>  authn_file_module (shared)
>  authn_core_module (shared)
>  authz_host_module (shared)
>  authz_groupfile_module (shared)
>  authz_user_module (shared)
>  authz_core_module (shared)
>  access_compat_module (shared)
>  auth_basic_module (shared)
>  reqtimeout_module (shared)
>  filter_module (shared)
>  mime_module (shared)
>  log_config_module (shared)
>  env_module (shared)
>  headers_module (shared)
>  setenvif_module (shared)
>  version_module (shared)
>  unixd_module (shared)
>  status_module (shared)
>  autoindex_module (shared)
>  dir_module (shared)
>  alias_module (shared)
>
> What am I doing wrong?
>

First, check if mod_ssl.so was installed into <PREFIX>/modules/ during one
of your build attempts.

If not, it presumably didn't find the OpenSSL prerequisite.  (You may need
to install a development package for OpenSSL.)

If it is there, load it in <PREFIX>/conf/httpd.conf with "LoadModule
ssl_module modules/mod_ssl.so".  (Presumably your httpd.conf was generated
by an earlier build attempt that did not have mod_ssl enabled.)



> hope to get some help, on the internet i didn't find any solution
>
> thanks in advance
>
> greets
> Dave Greebe (holland)
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Reply via email to