Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] mod_rewrite and Apache2

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: David Kowis <dkowis AT shlrm.org>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] mod_rewrite and Apache2
  • Date: Fri, 03 Feb 2006 10:03:50 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Sergey A. Lipnevich wrote:
> Do you have a proper "LoadModule" instruction in httpd.conf?
If the module is compiled in, then a LoadModule instruction will cause
errors as well...

>
> Cory S wrote:
>> Hi all,
>>
>> I'm having an issue with mod_rewrite in Apache2 not working. I
>> selected the module during the cast and when it was finished
>> 'apachectl -l' showed mod_rewrite as one of the compiled-in modules.
>>
>> However, I have 'RewriteEngine On' in a .htaccess file which generates
>> the following error:
>>
>> [Thu Feb 02 15:55:53 2006] [alert] [client xx.xx.xx.xx]
>> /usr/share/apache2/htdocs/some/path/.htaccess: Invalid command
>> 'RewriteEngine', perhaps mis-spelled or defined by a module not
>> included in the server configuration
I've no problems with it, perhaps you've not restarted apache? If you
just built it, then that probably won't apply. I've an .htaccess with
RewriteEngine On in it for my serendipity weblog. It's got no problems,
and apachectl -l also has mod_rewrite.c listed. I've no LoadModule line
for it.


- --
David Kowis

ISO Team Lead - www.sourcemage.org
Source Mage GNU/Linux

Progress isn't made by early risers. It's made by lazy men trying to
find easier ways to do something.
- Robert Heinlein

Any sufficiently advanced technology is indistinguishable from magic.
- Arthur C. Clarke

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iQGVAwUBQ+N+5snf+vRw63ObAQpWJAv+Jxz70M/Xp1hDNZIbwlljR8l+Eu1HGcTt
3q4wfPtF+moJ+bSHk8jl3MP3GQRXKKQ3NCFRS1byQ6B7b2ruwIhDLdUCXppIwZWD
fZGehLKGVU08XbwpI+zb34Ar3Td2xS9c2Y1FhUnV33OE/gta9WUOYvpgY9TO7ct7
BkJAHs+XI6vHuQU4P2glJ1dBNJiRfbTxTci0Fy95U+rgpJjyzl8dTE7Kb3OSCyNv
2lUe6ghvA9fMVV+XZq3bJ8LWyur/EnHK5/jPmYX9OwAvjjy1rXKroqEXldGhgINo
yc5atz/xuy4E9CPZd1XDhRHrpOUDFrqxLBo1Ac30kqn2PVWNx9J/rQbMN805na4j
V6uj8rFtJ9QpOJ1f0aNI/C6Oww24qa4kb8s8vPyvvnTLoQLLedayW/DPcpnTYvwW
f+/i4oKTLBxz2rX2c64bWeVlfMaOg7E41bt3UD5OrR88gsdf8OiAo2MKu4Ou0jJU
xiCvdESXqnzeWCupen53BXeQdehxDXVP
=aJeC
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page