I making one website and also want to add blog on that website. I want to make two .htaccess file. 1) for site 2) for blog is it possible ?
Yes. The easiest way is to probably have the blog in a separate folder and add the .htaccess file in the root of that folder. I have my blog on http://blog.mydomain.com which is actually a separate folder on the file system called 'blog'. Hence I can do what I want in that folder without disturbing the rest of the codebase.
I agree with mfscripts in the post above, use either subdomains or subdirectories, and you can give each one it's own .htaccess file. I've got sites with multiple blogs, shopping carts or whatever each seperated in their own folders, and each with it's own .htaccess file. Phil
You can have one .htaccess file in each directory. You can't have 2 files of the same name and extension (.htaccess has no name and the extension htaccess) in the same directory.
The two programs can interfere with each other, and your manual edits to .htaccess can make either or both of them think the file is corrupted
@woddy allen: Since you can't have them both in the same directory, the problem can't occur. (Different .htaccess files in different directories don't interfere with each other, and files don't "think" that other files "are corrupted".)