Rajat Sharma wrote:
Creating of configuration such as below is fine. But....Is above to be put in httpd.conf or .httpaccess or in completely new file....mod_rewrite.conf.... //////////////////////////////////// RewriteEngine on RewriteBase /~quux/ RewriteRule ^foo$ foo/ [R] ////////////////////////////////// The above info. is what's missing on the page sent below.
I started to reply with the standard "RTFM" but when I checked, I saw that the manual doesn't really make this clear, so:
All of the Apache directives go in httpd.confMany of them can also go in .htaccess (not .httpaccess) when they apply to a single directory (the directory where you place the .htaccess file).
I believe the rewrite rules best go in the main httpd.conf file. Good luck. --J --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx