Subject: Re: apache 2 and mod_rewrite on NetBSD 3.99.7
To: Francisco Guerreiro <firstname.lastname@example.org>
From: Francisco Valladolid Hdez. <email@example.com>
Date: 08/18/2005 15:01:14
The dude is how can load the mod_rewrite module?.
LoadModule mod_rewrite lib/httpd/mod_rewrite.so
I understand it but, mod_rewrite dond't existe in my lib/httpd directory.
> Francisco Valladolid Hdez. wrote:
>>I have apache 2.0.54 under NetBSD 3.99.7. I need mod_rewrite (module for
>>apache), I know tha it is a default module, but i can't activate it.
>>I has edited Makefile for /usr/pkgsrc/www/apache2 and add "all" to
>>DFLT_APACHE_MODULES= all option, it not compile this module.
>>Some can help me.
> if I'm not mistaken, you just have to put the "RewriteEngine On" on the
> context you need it, for example:
> <VirtualHost w.x.y.z>
> ServerAdmin abc@def
> DocumentRoot /usr/pkg/share/httpd/htdocs/
> ServerName xx.yy.zz
> RewriteEngine On
> did you try searching the apache2 manual for information about it? it
> explains it quite well :)
> btw, on pkgsrc apache it is compiled in by default
> best regards,
> Francisco Guerreiro
http://bsdguy.homeunix.org ; http://bsdguy.net