This is a discussion on Yikes, mod_rewrite.c is a mystery to where to download it within the Apache Web Server forums, part of the Web Server and Related Forums category; Could someone tell me a specific URL that would allow me to just download the file "mod_rewrite.c". ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Could someone tell me a specific URL that would allow me to just
download the file "mod_rewrite.c". My Info: My Apache: Using Apache2 on Windows. What I've been told: I've been told at other places that I have to "compile it". No clue what this means :) I've also been given the apache.org site. But that just tells you how to download Apache. Couldn't find out how to download just this file. I just need to get mod_rewrite working on my Apache for a specific need I have, and I just noticed that I do not have this mod_write.c file on my hard drive. So I just need a copy of this file. If anyone has a copy of this file that works on the Windows Apache2 version, and wants to email it to me, I'd be eternally grateful. Or a particular URL. Thanks, Steve |
|
|||
|
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 Thanks Steve On Jan 25, 9:27 am, QuantumCheese...@gmail.com wrote: > Could someone tell me a specific URL that would allow me to just > download the file "mod_rewrite.c". > > My Info: > > My Apache: Using Apache2 on Windows. > > What I've been told: I've been told at other places that I have > to "compile it". No clue what this means :) > > I've also been given the apache.org site. But > that just tells you how to download Apache. Couldn't find out how to > download just this file. > > I just need to get mod_rewrite working on my Apache for a specific > need I have, and I just noticed that I do not have this mod_write.c > file on my hard drive. > > So I just need a copy of this file. If anyone has a copy of this file > that works on the Windows Apache2 version, and wants to email it to me, > I'd be eternally grateful. > > Or a particular URL. > > Thanks, > Steve |
|
|||
|
On Thu, 25 Jan 2007 19:40:15 +0100, beetlecube
<QuantumCheeseDog@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. -- Rik Wasmus * I'm testing several new newsreaders at the moment. Please excuse possible errors and weird content. * |
|
|||
|
I'll try that Rik.
I'm trying to get my CakePHP working, and this requires configuring Apache correctly, so I might even be doing something wrong with cakePHP instead. That's interesting if that is true about Apache 2 and above Thanks On Jan 25, 11:07 am, 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.cI'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. > > -- > Rik Wasmus > * I'm testing several new newsreaders at the moment. Please excuse > possible errors and weird content. * |
|
|||
|
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. * |
|
|||
|
On Thu, 25 Jan 2007 20:07:11 +0100, Rik <luiheidsgoeroe@hotmail.com> wrote:
> On Thu, 25 Jan 2007 19:40:15 +0100, beetlecube > <QuantumCheeseDog@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. * |
|
|||
|
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. |