Apache mod_rewrite & opensuse 11.4 - can't find the module anywhere.

I upgraded from 11.2 to 11.4 (64bit) . It didn’t like the upgrade option so I ended up having to do a full install.

I still think something went wrong because because I can’t find mod_rewrite in any of my packages. Can someone tell me which apache rpm that apache rewrite is supposed to come with? Or if anyone else has had a similar problem please let me know.

The interesting thing is that the binary for rewrite is actually there. However, when I try to run apache it removes it from the LoadModule.conf file along with quite a few other modules so I’m guessing it detected that they were left over from the previous version of the OS and is rejecting them.

I have looked through the file list of every apache rpm I have installed which is a lot of them that have been supplied and rewrite is not showing anywhere. I’m out of ideas so any help appreciated.

And of course I also looked through the repo. website but perhaps I missed something so if anyone knows the URL to the RPM, please pass it along!

I’m assuming that it does exists for 11.4 since it would be crazy to release a version without Apache rewrite.

Your help much appreciated.
Reg

Running Tumbleweed, but my apache2 package is from the Update repo. It has mod_rewrite.so…, so I’d say it’s there. Search in Yast - Software Management, tick “RPM Provides” and search.

On Tue, 09 Aug 2011 03:06:03 +0530, Reg gie
<Reg_gie@no-mx.forums.opensuse.org> wrote:

>
> I upgraded from 11.2 to 11.4 (64bit) . It didn’t like the upgrade option
> so I ended up having to do a full install.
>
> I still think something went wrong because because I can’t find
> mod_rewrite in any of my packages. Can someone tell me which apache rpm
> that apache rewrite is supposed to come with? Or if anyone else has had
> a similar problem please let me know.
>
> The interesting thing is that the binary for rewrite is actually there.
> However, when I try to run apache it removes it from the LoadModule.conf
> file along with quite a few other modules so I’m guessing it detected
> that they were left over from the previous version of the OS and is
> rejecting them.
>
> I have looked through the file list of every apache rpm I have
> installed which is a lot of them that have been supplied and rewrite is
> not showing anywhere. I’m out of ideas so any help appreciated.
>
> And of course I also looked through the repo. website but perhaps I
> missed something so if anyone knows the URL to the RPM, please pass it
> along!
>
> I’m assuming that it does exists for 11.4 since it would be crazy to
> release a version without Apache rewrite.
>
> Your help much appreciated.
> Reg
>
>

you’re probably modifying the wrong file to enable the module – the one
that says, in a comment on top, that it shouldn’t be edited because
changes will be overriden during runtime configuration. you need to edit
/etc/sysconfig/apache2 to enable/disable modules.


phani.

That worked. When I said “make same as repo.” which was an option once I selected “RPM Provides” it downgraded the version slightly and all those missing modules came back.

Thanks!

On 08/08/2011 11:36 PM, Reg gie wrote:

> I upgraded from 11.2 to 11.4 (64bit) . It didn’t like the upgrade option
> so I ended up having to do a full install.

fyi next time: i always do a full install, but some here claim full
success and a smile if they carefully follow one of these two known to
work and supported upgrade paths:

http://tinyurl.com/35p966c
http://tinyurl.com/6kvoflv

and, neither of those supported ways includes an upgrade which skips a
version…which means you need to go from 11.2 to 11.3 and then 11.4

if you don’t want to do that then backup all data and do a full fresh
format and new install…

ymmv and you will find other opinions.


DD
Caveat-Hardware-Software
openSUSE®, the “German Engineered Automobiles” of operating systems!