Forum Moderators: phranque

Message Too Old, No Replies

How do I create a mod rewrite.so file?

I don't have one

         

kazisdaman3

10:55 pm on Nov 4, 2007 (gmt 0)

10+ Year Member



Hi I searched and found an earlier thread, but it wouldn't allow me to reply because it was old. I'm brand new to APACHE.

I have

<Directory /home/username/mydomain.com/>
Loadmodule rewrite_module /usr/lib/apache/mod_rewrite.so
AddModule mod_rewrite.c
AllowOverride FileInfo Options -or-
AllowOverride All
Options +FollowSymLinks -or-
Options +SymLinksIfOwnerMatch -or-
Options All
</Directory>

-----------

I do not have a mod_rewrite.so file, which I assume is the reason when I goto my website, it is just doesn't load anything, no error, no nothing, just cannot be found like the domain doesn't even exist.

I heard I just do this to get a new file:

./configure --enable-rewrite=shared

**

But what is that? Do I run that in SSH, where? They just gave me that line of code but what do I do with it?

Thanks so much!
-wesley

jdMorgan

10:05 pm on Nov 5, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



They just gave me that line of code

Who is 'they'? If it's your hosting support, I think they'll be in a better position to guide you through all the variables involved in compiling in a new module on your server.

Jim