How To Test Linux Apache Mod_rewrite Working



How To Test Linux Apache Mod_rewrite Working
 (387) PHP Mysql Hosting
How To Test Linux Apache Mod_rewrite Working
Post Description:
Post Tags: how, to, test, linux, apache, mod, rewrite, working
This Post Has Been Viewed 1724 Times Since Thu Jul 20, 2006 2:31 pm Posted By john607 with 1 replies
How To Test Linux Apache Mod_rewrite Working
Hello,

I want to mascarade my web pages to make it search engine friendly SEO. I want to use mod_rewrite for this. Can you guys tell me how to do this?

Thanks

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About How To Test Linux Apache Mod_rewrite Working




:: 1 :: #24 - Reply By john607 On Wed Jul 26, 2006 11:24 am
If you want to check if your apache mod_rewrite is working in your server, follow this great tutorial. it shows you step by step on what to do:

http://www.webune.com/forums/how-to-test-check-if-mod-rewrite-is-enabled-t40.html

another way to check is by going to your httpd.conf file in your server. if you have shared hosting, then dont' worry, you won't be able to because you need shell access. but if you have a server, like a dedicated server where you are the administrator, then you can open the httpd.conf file and look at the line where you find mod_rewrite, just make sure this line is not comment out (meaning it has a pound sign at the begining, if it does, just remove it, but removing the pound sign, it will enable the rewrite directive. by they way, the pound sign is the symbol that looks like the number signe - like this: # its the symbol on the number 3 on your keyboard.
http://www.webune.com/forums/how-to-test-check-if-mod-rewrite-is-enabled-t40.html
the httpd.conf file can be found at /etc/httpd/conf/httpd.cof

find this line:
# LoadModule rewrite_module modules/mod_rewrite.so

change it to:

LoadModule rewrite_module modules/mod_rewrite.so

MORE INFORMATION:


Dynamic Shared Object (DSO) Support

To be able to use the functionality of a module which was built as a DSO you
have to place corresponding `LoadModule' lines at this location so the
directives contained in it are actually available _before_ they are used.
Statically compiled modules (those listed by `httpd -l') do not need
to be loaded here.

Example:
LoadModule foo_module modules/mod_foo.so




DONE

Hope this helps