.htaccess

New to mod_rewrite? This is a good place to start.

Postby Guest » Wed Sep 05, 2001 7:18 pm

Hello all,

This is the first time I try to use mod_rewrite and I just want to see if it will work on my server. I have confirmed that the module is active but I can't seem to get any successes or errors. Where should I place the .htaccess file with the rewrite information?

Any help, even the most basic, would be much appreciated.

Thanks!
JES
Guest
 

Postby Brett » Wed Sep 05, 2001 9:45 pm

If you want the mod_rewrite directives to apply to your entire site, you would put the .htaccess file in the main directory for your site (typically something like /home/username/www/).

If you only want the directives to apply to files a particular directory, you can put the .htaccess file in that directory. (It will apply to anything "underneath" that directory as well.)
Brett
 
Posts: 82
Joined: Tue Jul 10, 2001 4:00 pm
Location: yohost.com


Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 5 guests

cron