Load Apache Module
If you want to add a .rpm [binary] module,
- first type in the following query to see
if apache is ready to accept instruction - rpm -qa | grep apachethen type the following command,
substituting the name of the .rpm you’re using - 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 ::
- find where the module you seek may be already on your box
type in : find / -name “*mod_rewrite*”- I found it already from installing Apache here :
/usr/lib/httpd/modules/mod_rewrite.so- then I cd’d to there :
cd /usr/lib/httpd/modules/- I used the axps tool I enabled as ./configure of Apache
to execute copying it to httpd Apache
apxs -c mod_rewrite.so- Then I installed it
apxs -i -a -n rewrite mod_rewrite.la- 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.soI 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 .htaccessheres 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 - - - - -