Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache mod_rewrite.c missing on AM64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Bravo_Kernel
n00b
n00b


Joined: 19 Mar 2006
Posts: 5

PostPosted: Wed Dec 19, 2007 2:56 pm    Post subject: Apache mod_rewrite.c missing on AM64 Reply with quote

Fellow Gentoos,

For some reason I can't find mod_rewrite.c anywhere on my system and because of that my <IfModule mod_rewrite.c> statements don't work.

apache2ctl tells me the module is loaded though: rewrite_module (shared)
phpinfo() also tells me that mod_rewrite is loaded.

I have spend hours but can't find anything related to missing mod_rewrite.c :cry:

TIA.
Back to top
View user's profile Send private message
Dagger
Retired Dev
Retired Dev


Joined: 11 Jun 2003
Posts: 765
Location: UK

PostPosted: Wed Dec 19, 2007 3:13 pm    Post subject: Reply with quote

can you please post emerge -pv apache?
_________________
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Back to top
View user's profile Send private message
Bravo_Kernel
n00b
n00b


Joined: 19 Mar 2006
Posts: 5

PostPosted: Wed Dec 19, 2007 3:24 pm    Post subject: Reply with quote

Ofcourse, here you go:

Code:
[ebuild   R   ] www-servers/apache-2.2.6-r5  USE="ldap ssl -debug -doc -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec (-selinux) -static-modules -threads" 0 kB
[/code]
Back to top
View user's profile Send private message
Dagger
Retired Dev
Retired Dev


Joined: 11 Jun 2003
Posts: 765
Location: UK

PostPosted: Wed Dec 19, 2007 3:28 pm    Post subject: Reply with quote

take a look here and check if you have all necessary modules.
_________________
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Back to top
View user's profile Send private message
Bravo_Kernel
n00b
n00b


Joined: 19 Mar 2006
Posts: 5

PostPosted: Wed Dec 19, 2007 4:06 pm    Post subject: Reply with quote

Let me start by thanking you for that pointer Dagger, extremely usefull.

After reading the page I added the following to my /etc/make.conf file:
Code:
APACHE2_MODULES="rewrite"


I then unmerged apache and emerged it again but still no mod_rewrite.c to be found anywhere on my system.

On the other hand, it seems that the file is not neccessary for rewriting after all (as long as you mention the module name in your IfModule directive) so I am happy for now.

Thanks again,
Bravo.
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Wed Dec 19, 2007 7:32 pm    Post subject: Reply with quote

I'm on 2.2.6-r6 which I think is the updated crazy module thing Portage just started for Apache. In any case I've got the following files which should be pretty close to what you have.

Code:

www01 apache2 # grep -r write *
httpd.conf:LoadModule rewrite_module modules/mod_rewrite.so

www01 apache2 # locate rewrit | grep apache2
/usr/lib/apache2/modules/mod_rewrite.so


kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum