Apache htaccess : Redirect Old URLs to new URLs after Rewrite URLs have been applied
March 19, 2009 — alif
Tags:
.htaccess (Hypertext Access) files is a configuration file on Apache web server. It allows users to do many powerful features just by writing few lines. As of wikipedia, the most common usage of .htaccess files are follows:
- Authorization, authentication
- Customized error responses (ErrorDocument)
- Rewriting URLs (mod_rewrite)
- Cache Control
PHP-5 DomDocument: Creating a Basic XML
March 31, 2009 — alif
Since I wrote my ZCE Exam in last Sept 08', I have been using DomDocument mainly to generate XML files. Its a powerful library of PHP-5, one thing I find surprising is the lack of tutorials on the web on PHP-5's DomDocument. So, I decided to write a simple tutorial on how to use DomDocument to write XML. In this article, I will try to explain the basics of DomDocument and then will create a couple of simple XML files.