Server
How to configure apache virtual host in Microsoft Windows for safer development
Jan 6th
Typically for web development, one likes to simulate the web environment by using actual domain name as is instead of using some local IP address. It is very useful in case if you want to host WordPress and would like to copy your version of database as is from development server to the the actual hosting server. The applications like WordPress store domain names in the database while storing your posts as part of permalinks etc.
Another use for having real simulated environment is to ensure your ad slots like Google AdSense, DoubleClick etc appear without any issues. Otherwise the ads More >
How to disable directory listing by Apache web server
Dec 2nd
There are two ways to disable directory browsing feature of Apache web server. However the first method is most practical way as server’s configuration file is typically not modifiable by the user as part of his hosting plan. Most of the hosting provides allow modification of .htaccess file and enable ModRewrite module in the Apache.
The ModRewrite Way
Add the following line towards the end of .htaccess file present in a directory for which you would like to disable directory listing.
Options All -Indexes
However if you have lots of such directories, it may become difficult for you to do this.
The httpd.conf way
If you More >
How to bind a service under xinetd to a specific ip address
Sep 3rd
As an administrator, you wouldn’t want external users to access a new service while you are setting it up. In such cases, you might want to bind the service to loop-back address (127.0.0.1) until you are sure that service is functional and not vulnerable. As a Desktop user, to increase security of the system, you can turn off unused services and change the bind address to loop-back for the servers that are not expected to be accessed from outside.
Coming to the actual topic of changing bind address of a service under xinetd, you need to add a line similar to More >
How to resolve “POST to /wp-admin/post.php not supported” error in WordPress
Feb 1st
Sometimes while posting in WordPress blog software, users encounter the following error and fail to submit the new post or edited post.
Method Not Implemented POST to /wp-admin/post.php not supported. Apache/2.2.0 (XenOS) Server at techpulp.com Port 80
This error is due to mod_security which is enabled on your Apache server. The mod_security helps protect your website and is called Open Source Web Application Firewall. It comes with a big set of rules against which each server request is matched to detect any hacker trying to compromise your website. In a way mod_security is very good to have it enabled as a security measure. but More >


Recent Comments