To temporarily redirect the whole website under a folder to a new domain. Using .htaccess, it can be done with just the following code. Redirect 302 / https://www.namran.com/ If you
Category: Webdesign
Suppressing HTTPd warning message using PHPSuppressing HTTPd warning message using PHP
I bumped into an error with the thumbnail generator for some Joomla library. Each of the images generated would not having any image info inside but having error message instead.

Implementing SSL into webserverImplementing SSL into webserver
Last year, I moved over my DNS server to new provider. The previous one just being taken over by new management. :) So, I move all the record to new
Adding multiple superuser for MoinMoin wiki in wikiconfig.pyAdding multiple superuser for MoinMoin wiki in wikiconfig.py
By default there is only one superuser for MoinMoin wiki. If want to add multiple superuser inside the wikiconfig.py can try the following : # This is checked by some
XML beautify using perl XML::WriterXML beautify using perl XML::Writer
There are code that we generate somehow having the whole data merged into just ONE long line. And end-user complained can’t be processed. Which is not so easy to read.
Apache Tips : How to force redirect old domain to new domainApache Tips : How to force redirect old domain to new domain
Change the definition of Override in /etc/httpd/conf/httpd.conf # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the
PHP tips : how to sort and reverse sort an arrayPHP tips : how to sort and reverse sort an array
Let’s say you had an array as following : $time = array ("0600", "0000", "1200", "1800"); but you wanted it to be shown as 0000 0600 1200 1800 Use asort
Google Web Toolkit on Eclipse and CentOS 5.4Google Web Toolkit on Eclipse and CentOS 5.4
Google had developed a development toolkit for building web application and optimizing complex web-based application. Guess what? It was meant to be written in “java” ways.. which could lead to
How to use SHA1 or MD5 encrypted in user password into MySQL tableHow to use SHA1 or MD5 encrypted in user password into MySQL table
Well, there have been a fuss around the globe regarding the user data. And how well we had done to protect their interest on our side. Online forum, portal.. and
Changing the plugin file to utilize wordpress 2.8 optimizationChanging the plugin file to utilize wordpress 2.8 optimization
WordPress 2.8 has been released few days ago. It come with some sort of optimization.. as many had complaint regarding the placing of JavaScript at the bottom of the page