Subject: Re: dlopen, Win32 error 126
From: Brian Dessent <[email-masked]>
To: cygwin <[email-masked]>
Date: Fri, 12 Nov 2004 21:07:47 -0800

Äþ»Ô wrote:
> 
> I start apache  failure .
> ###################################################################################
> $ ./apachectl start
> Syntax error on line 223 of /etc/apache/httpd.conf:
> Cannot load /usr/lib/apache/mod_rewrite.dll into server: dlopen, Win32 error 126
> 
> ./apachectl start: httpd could not be started
> #################################################################################33
> 
> Could anybody help me?

First of all, you should be running Apache as a service and
starting/stopping it with "net stop" and "net start" commands.  Using
apachectl runs it as the current user, which is normally not what you
want.

Make sure the mod_*.dll files exist and have both 'r' and 'x'
permissions for whatever user account is running apache.  Also rebaseall
if you haven't already.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/