Apache / Mod-Rewrite

berndl81 at gmx.at berndl81 at gmx.at
Mon Dec 20 15:22:43 UTC 2004


Hi Martijn. Thanks a lot for your quick and helpful answer. I am using
apache2 and did what you wrote. I noticed that a file called
"rewrite.load" was created in /etc/apache2/mods-enabled. However, this
was empty. 

Adding "LoadModule
rewrite_module /usr/lib/apache2/modules/mod_rewrite.so" to this file
however made mod_rewrite work perfectly. I don't know if that's a bug or
not, but I wanted to share this with the list. 

Anyway, thanks a lot for your help :)
Greets,
Bernhard

On Monday, 20 Dec 2004, Martn van de Streek wrote:
> On Mon, 20 Dec 2004, berndl81 at gmx.at wrote:
> 
> > Hi there. Does anyone know a quick and easy way to enable mod_rewrite in
> > Ubuntu without having to set up the apache by hand?
> 
> If you use apache2:
> sudo a2enmod rewrite; sudo invoke-rc.d apache2 restart
> 
> If you use apache, you might need to uncomment the 'mod_rewrite' line in
> the /etc/apache/httpd.conf.
> 
> Martijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041220/a338eca6/attachment.sig>


More information about the ubuntu-users mailing list