Alright, I got an Apache localhost server up and running with PHP and MySql. Now I want to be able to use a .htaccess file as well to use RewriteRule, But I’m at a loss where to put it.
I have these directories:
C:\dev\progs where Apache PHP and MySQL are stored, each in their own sub-directories, ie. C:\dev\progs\Apache and so on…
C:\dev\www where all the site files are stored.
I need to know where to put the .htaccess file, what configuration I need to do, and if what I’m my hopes and dreams are all for nothing.
Thanks
.htaccess is a configuration file that should be stored where your page is. In short, it should be in
c:\dev\wwwin Your case, but You should read this too. BTW don’t forget to turn on mod_rewrite by deleting a hash from the line where it residesand enable .htaccess by changing
to