Forum Moderators: open
well, sorry for my english...
other question...
i can get more performance blocking some sites using .htaccess? (mod_rewrite)...
why i need to use .htaccess? i dont understand that stuff
other..
someone know good docs abt PR and SE?
i can get more performance blocking some sites using .htaccess?
Generally you don't block out sites with .htaccess you use it to stop people or organisations from accessing your website. Is there a performance hit from .htaccess? If it's properly configured I'd guess not from the amount of people that use it.
Will you get better performance out of your site using .htaccess? Nope, the only real benefit is that you can stop certain things from browsing your site - in theory if something was badly behaved it could slow your server down. Blocking it using htaccess stops part of that slowdown since the server doesn't have to deal with those request.
mod_rewrite
[httpd.apache.org...]
mod_rewrite isn't used to block sites, instead it's used to map "virtual" URLs onto existing documents or scripts. Is there a performance hit from mod_rewrite? If it's properly configured I'd guess not from the amount of people that use it.
- Tony