Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mod_rewrite statements in .htaccess??

Status
Not open for further replies.

turnbui

Programmer
Jul 23, 2005
60
GB
Hello everyone,
I'm in need of some help. In the documentation it says that the Rules for the mod_rewrite module can be put into the .htaccess file. Does this mean that one has to have authentication on? Or am I mistaken in that .htaccess is NOT purely for authentication purposes?

Is there another file where the Rules can be placed?

Forgive my ignorance and thanks for any help.

Ian t
 
Rewrite rules can also placed in the main httpd.conf file or within any directory or virtualhost containers. But no, .htaccess are not only for authentication.
apache documentation said:
.htaccess files provide a way to make configuration changes on a per-directory basis
This includes many possible configuration changes
 
Thank you. That clears up a few other things as well. Nice one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top