You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mário Gamito <ga...@gmail.com> on 2008/04/30 15:55:18 UTC

[users@httpd] mod_vhost_alias

Hi,

I've compiled Apache 1.3.37 with mod_vhost_alias:

# ./configure --enable-module=vhost_alias --enable-shared=vhost_alias

I have:

AddModule mod_vhost_alias.c

in my httpd.conf, but Apache won't start, it says:

"Cannot add module via name 'mod_vhost_alias.c': not in list of loaded modules".

Any idea of what can be wrong ?

Any help would be appreciated.

Warm Regards,
Mário Gamito

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_vhost_alias

Posted by Mário Gamito <ga...@gmail.com>.
Thanks, that's it :)

Warm Regardsw,
Mário Gamito

On Wed, Apr 30, 2008 at 3:06 PM, Joshua Slive <jo...@slive.ca> wrote:
>
> On Wed, Apr 30, 2008 at 9:55 AM, Mário Gamito <ga...@gmail.com> wrote:
>  > Hi,
>  >
>  >  I've compiled Apache 1.3.37 with mod_vhost_alias:
>  >
>  >  # ./configure --enable-module=vhost_alias --enable-shared=vhost_alias
>  >
>  >  I have:
>  >
>  >  AddModule mod_vhost_alias.c
>  >
>  >  in my httpd.conf, but Apache won't start, it says:
>  >
>  >  "Cannot add module via name 'mod_vhost_alias.c': not in list of loaded modules".
>  >
>  >  Any idea of what can be wrong ?
>  >
>  >  Any help would be appreciated.
>
>  In 1.3 you need LoadModule and AddModule for each dynamically-loaded module.
>
>  Joshua.
>
>  ---------------------------------------------------------------------
>  The official User-To-User support forum of the Apache HTTP Server Project.
>  See <URL:http://httpd.apache.org/userslist.html> for more info.
>  To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>  For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_vhost_alias

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, Apr 30, 2008 at 9:55 AM, Mário Gamito <ga...@gmail.com> wrote:
> Hi,
>
>  I've compiled Apache 1.3.37 with mod_vhost_alias:
>
>  # ./configure --enable-module=vhost_alias --enable-shared=vhost_alias
>
>  I have:
>
>  AddModule mod_vhost_alias.c
>
>  in my httpd.conf, but Apache won't start, it says:
>
>  "Cannot add module via name 'mod_vhost_alias.c': not in list of loaded modules".
>
>  Any idea of what can be wrong ?
>
>  Any help would be appreciated.

In 1.3 you need LoadModule and AddModule for each dynamically-loaded module.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org