[Wolves] one for you apache experts

Simon Morris simon.morris at cmtww.com
Mon Mar 27 16:04:38 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Baza wrote:

> 
> apache2 -k restartSyntax error on line 73 of /etc/apache2/sites-
> enabled/000-default:
> Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a 
> module not included in the server configuration
> root at barbelith:/etc/apache2/sites-enabled#
> 
>

You don't have mod_rewrite enabled

In your /etc/apache2 directory you have 2 directories called

mods-available
mods-enabled

Go into mods-enabled and run

ln -s /etc/apache2/mods-available/mod_rewrite.load mod_rewrite.load

and then `ls -l` to make sure it looks right, like the other links in
that directory.

Restart apache2 and then run `apache2ctl configtest` and see if that
clears the error

Thanks

~sm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEJ/8CtjeLJb8KijsRAhnmAJoC4E/XcA4oJCTv2vfi3T/UeeRaBQCgpSjs
YW8iETY1Y1OLT2R+4COxzYA=
=cfdR
-----END PGP SIGNATURE-----



More information about the Wolves mailing list