You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Evan Platt <ev...@espphotography.com> on 2006/07/09 07:46:27 UTC
Re: [users@httpd] Change directory Apache looks for conf file
in?
At 07:46 AM 7/8/2006, you wrote:
>You would probably need to "make clean; configure --options; make install".
>
>If you want to stick with the current install, you can use the -f
>command line option (to apachectl or httpd) to tell it where to look
>for httpd.conf.
Many thanks, it's now looking in the right directory. However... Upon
running httpd, I get:
httpd: Syntax error on line 166 of /Library/Apache2/conf/httpd.conf:
module authn_file_module is built-in and can't be loaded
I then remm'ed out that line, and got:
httpd: Syntax error on line 170 of /Library/Apache2/conf/httpd.conf:
module authn_default_module is built-in and can't be loaded
I could obviously rem that out, but I have a feeling this will go on and on..
Unfortunately I don't recall what options I installed my previous
version of apache with, but I compiled apache 2.2.2 with :
./configure --enable-mods-shared --prefix=/Library/Apache2 --enable-ssl
Thanks again.
Evan
---------------------------------------------------------------------
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] Change directory Apache looks for conf file in?
Posted by Joshua Slive <jo...@slive.ca>.
On 7/8/06, Evan Platt <ev...@espphotography.com> wrote:
> At 07:46 AM 7/8/2006, you wrote:
>
> >You would probably need to "make clean; configure --options; make install".
> >
> >If you want to stick with the current install, you can use the -f
> >command line option (to apachectl or httpd) to tell it where to look
> >for httpd.conf.
>
> Many thanks, it's now looking in the right directory. However... Upon
> running httpd, I get:
>
> httpd: Syntax error on line 166 of /Library/Apache2/conf/httpd.conf:
> module authn_file_module is built-in and can't be loaded
>
> I then remm'ed out that line, and got:
>
> httpd: Syntax error on line 170 of /Library/Apache2/conf/httpd.conf:
> module authn_default_module is built-in and can't be loaded
>
> I could obviously rem that out, but I have a feeling this will go on and on..
Yes, if you compiled-in all the modules, you'll need to remove all the
LoadModule lines.
>
> Unfortunately I don't recall what options I installed my previous
> version of apache with, but I compiled apache 2.2.2 with :
>
> ./configure --enable-mods-shared --prefix=/Library/Apache2 --enable-ssl
If you still have the previous install, look in the build/ directory
for config.nice (or in the root of the source tree).
It sounds like you want --enable-mods-shared=most
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