.htaccess is not working at all

Posted by shuja on Stack Overflow See other posts from Stack Overflow or by shuja
Published on 2010-04-30T08:38:47Z Indexed on 2010/04/30 15:17 UTC
Read the original article Hit count: 232

Filed under:
|

i want to change this url

localhost/classAds/classInc/home.php

to

localhost/classAds/classInc/home/

for this i created .htacess file as follow,

RewriteEngine On                #Turn on the rewriting engine
RewriteRule     ^home/?$    home.php    [NC,L]   #Handle requests for "home"

and put this file in

C:\wamp\www\classAds and then C:\wamp\www\classAds\classInc

but at both places it did not work,i checked Apache error log but nothing there. actually i an new to this thing.. any idea please??

© Stack Overflow or respective owner

Related posts about apache

Related posts about mod-rewrite