Click here for Vacation Photos

Load Apache Module

If you want to add a .rpm [binary] module,

  1. first type in the following query to see
    if apache is ready to accept instruction
  2. rpm -qa | grep apachethen type the following command,
    substituting the name of the .rpm you’re using
  3. rpm -ivh apache-1.3.9-4.i386.rpm

RPM should grind away, displaying its progress with a primitive ####### progress bar. Barring any errors, you’re done.

or you can use [source] files CLI with DSO Library .so files …
check this out ::

  1. find where the module you seek may be already on your box
    type in : find / -name “*mod_rewrite*”
  2. I found it already from installing Apache here :
    /usr/lib/httpd/modules/mod_rewrite.so
  3. then I cd’d to there :
     cd /usr/lib/httpd/modules/
  4. I used the axps tool I enabled as ./configure of Apache
    to execute copying it to httpd Apache
     apxs -c mod_rewrite.so
  5. Then I installed it
    apxs -i -a -n rewrite mod_rewrite.la
  6. then the CLI will return
    Libraries have been installed in:
    /usr/lib/httpd/modules

I have had best luck with modules on my server buildout

the I set up mod_rewrite module,
LoadModule rewrite_module modules/mod_rewrite.so

I commented out Multiview in my Directory directives
# MultiViews can interfere with content-negotiation of mod_rewrite
<h;Directory />h;
Options FollowSymLinks
AllowOverride All
Order allow,deny
<h;/Directory>h;

and added the File accessor method of assigning an .htaccess file
AccessFileName .htaccess

heres a nice link to some other things you can do with regular expressions and the rewrite module ::

	
							

Digg it | Save to del.icio.us | Netscape | Reddit | Stumble It!

- - - - - S P O N S O R I N G     A D V E R T I S M E N T - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Post your thoughts in the Comments ...
Not signed up to share your ideas & thoughts?

It’s free and easy to collaborate!
Click Here to begin

Click Here to earn money for reviewing this post

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Leave a Reply

You must be logged in to post a comment.