I hope somebody can help me with this, because it's really driving me crazy:
Just for the record: I have Windows 98 on my PC and I have installed on it the Cygwin development environment, under which I'm running Apache.
The installed version is Apache 1.3.22 and I use it to make local tests and development. Installation was successfull and things worked as expected.
The problems started when I tried to add the module mod_rewrite: it don't manage to get it compiled and included in the Apache build. Please note that I cheched in the Apache source files and mod_rewrite.c and mod_rewrite.h are present in the modules/standard/ dir.
Here is what I did:
1.Changed the src/Configuration.tmpl file by uncommenting the line
2. ran ./configure in the Apache_1.3.22 directory
4. make install
I get the message that Apache as been successfully installed, but
-if I go to the usr/local/apache/bin directory and type
mod_rewrite.c is not listed, and
-since I have within a <VirtualHost> tag in the httpd.conf file RewriteEngine on,when I try to start Apache agin I get the message:
/$ /usr/local/apache/bin/apachectl start
Syntax error on line 992 of /usr/local/apache/conf/httpd.conf:
Invalid command 'RewriteEngine', perhaps mis-spelled or defined by
included in the server configuration
/usr/local/apache/bin/apachectl start: httpd could not be started
Can anybody please tell me what I'm doing wrong?
Is there something else that need to be modified in the configurations files (both Configuration.tmpl and htppd.conf)?
I tried to edit also Configuration (not Configuration.tmpl) but the result was the same.
Please help me !
Thanks in advance!