Re: Yikes, mod_rewrite.c is a mystery to where to download it
On 25 Jan, 19:09, "beetlecube" <QuantumCheese...@gmail.com> wrote:
> Oookkkk, then that would explain it when I try to leave AddModule in
> there and when i restart Apache, i get an error message :)
>
> Thanks a lot.
>
> On Jan 25, 11:10 am, Rik <luiheidsgoe...@hotmail.com> wrote:
>
> > On Thu, 25 Jan 2007 20:07:11 +0100, Rik <luiheidsgoe...@hotmail.com> wrote:
> > > On Thu, 25 Jan 2007 19:40:15 +0100, beetlecube
> > > <QuantumCheese...@gmail.com> wrote:
>
> > >> By the way, just thought I'd add that I *do* have the following 2 lines
> > >> UNcommented in my httpd.conf:
>
> > >> LoadModule rewrite_module modules/mod_rewrite.so
> > >> AddModule mod_rewrite.c
>
> > > I'm not well versed in modules, but for the heck of it: try to remove
> > > the line:
> > > AddModule mod_rewrite.c
>
> > > .. and restart apache.
>
> > > I've got no AddModule in my httpd.conf, and there's no mod_rewrite.c
> > > file, and I assure you rewriting is OK. As far as I can tell AddModule
> > > is not needed for Apache >= 2, but I leave it to someone who knows what
> > > he's talking about to confirm this.Ah, found it:
>
> > Upgrading to 2.0 from 1.3
> > <http://httpd.apache.org/docs/2.0/upgrading.html>
>
> > "The AddModule and ClearModuleList directives no longer exist. These
> > directives were used to ensure that modules could be enabled in the
> > correct order. The new Apache 2.0 API allows modules to explicitly specify
> > their ordering, eliminating the need for these directives."
>
> > --
> > Rik Wasmus
> > * I'm testing several new newsreaders at the moment. Please excuse
> > possible errors and weird content. *
If I were you I would google around for example httpd.conf files and
php.ini files, or go somewhere like the XAMPP website for the whole
Apache Mysql PHP Perl, phpmyadmin etc... shebang. If you are not
familiar with the conf files you and are just patching things to make
it work, changing this and that, you will soon find yourself in trouble
with memory leaks and insecurities. My advice - start from a known
secure working conf and ini and always backup before you fiddle.
instead of starting with a hodge podge apache 1.3.x conf and presumably
trying to modify it to work with apache 2.x (which is different from
apache2.2.x) and a PHP5 installation.
|