hamza Posted September 26, 2008 Share Posted September 26, 2008 where is htaccess file located in apache web sever please tell me the compleat location of that file thanks Quote Link to comment Share on other sites More sharing options...
corbin Posted September 26, 2008 Share Posted September 26, 2008 It's located in the directory you want it to affect. (And directories under that one are affected too.) Quote Link to comment Share on other sites More sharing options...
hamza Posted September 27, 2008 Author Share Posted September 27, 2008 thanks for this but how we create this htaccess file and why Quote Link to comment Share on other sites More sharing options...
corbin Posted September 27, 2008 Share Posted September 27, 2008 It's called Google. http://www.google.com/search?hl=en&q=htaccess&btnG=Google+Search&aq=f&oq= Per http://httpd.apache.org/docs/1.3/howto/htaccess.html: .htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof. "but how we create this htaccess file" How do you normally create files? Quote Link to comment Share on other sites More sharing options...
hamza Posted September 27, 2008 Author Share Posted September 27, 2008 should we create the our own htaccess file with perticular commands if yes then show me few of them Quote Link to comment Share on other sites More sharing options...
corbin Posted September 28, 2008 Share Posted September 28, 2008 Did you read that link at all? A .htaccess file is simply a plain text file with sets of rules/commands for Apache to read and apply to the directory that it's in and all subdirectories (unless they either have their own rules/commands or are ignored). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.