Posts Tagged ‘htaccess’

Rewriting URLs with .htaccess

September 4th, 2012 Leave a comment
Rewriting URLs with .htaccess

Rewriting URLs is a useful tool for hiding or removing the file extension so your users do not know which programming or scripting language is being used to produce the page. This gives you an extra measure of security since a hacker or malicious person would not know how to intrude or inject code in your website, since they do not know which language you are using. In this article we will look at how to change the file extension of your requested URLs as well as rewrite the URLs to something completely different. Another benefit of rewriting URLs is for… View full post »

htaccess for PHP Error Logging – An In-depth How-to

January 11th, 2012 Leave a comment 1 comment
htaccess for PHP Error Logging - An In-depth How-to

For PHP users running Apache, we often want to be able to suppress our PHP errors from visitors so we can protect and handle those errors. We also want to log those errors since error tracking is an excellent way to troubleshoot potential problems. Catching these errors and monitoring them is a better solution than trying to catch and handle them during the user’s session. This tutorial will show you how to enable PHP error logging and error handling via .htaccess. For Developers New to htaccess If you are a developer that has never used the .htaccess file, here… View full post »