Posted on : 17-10-2011 | By : admin | In : Tips
1
Archived; click post to view.
Excerpt: Say for example if you want to add the following different ip ranges in your server on the Ethernet port eth0. Here are few simple steps to add the ip ranges in few minutes. IP Block: 204.45.89.130-134 IP Block: 204.45.90.2-6 IP Block: 204.45.90.10-14 IP Block: 204.45.90.18-22 IP Block: 204.45.90.26-30 The above example has around 6 ranges with different ip sets. You can make use of the ‘ ifcfg-eth0-rangeX ‘ feature to get this done simply. Ssh your server as root. # cd /etc/sysconfig/network-scripts Create a file named ifcfg-eth0-range0 # vi ifcfg-eth0-range0 Add the following lines as below to add the first set of range ( iee..204.45.89.130-134 ) ONBOOT=yes IPADDR_START=204.45.89.130 IPADDR_END=204.45.89.134 NETMASK=255.255.255.248 CLONENUM_START=1 Save your works and….
Posted on : 13-10-2011 | By : admin | In : Web Server
1
Archived; click post to view.
Excerpt: What is Fancy Directory Index? If you don’t put the index.html or index.php files in your web directory, apache use to list all the files / directory when you access that directory. This feature is helpful if you are running a public download website. Apache Fancy Directory Indexing module (mod_autoindex) is of same type but with more features than the default. Below screencaps is an example for with and without fancy index’s.
Without Apache Fancy index
With Apache Fancy Directory Index
Enabling Fancy Directory Indexing in Cpanel Enabling is pretty simple if you have a cpanel server,….
Posted on : 12-10-2011 | By : admin | In : Web Server
1
Archived; click post to view.
Excerpt: ZendOptimzer is free which runs the files encoded by the Zend Encoder and Zend SafeGuard Suite. It can also speed up the php application by its caching feature. Installing the ZendOptimizer You can make use of the port in FreeBSD to install it. Ssh your server as root user and add the pack using # pkg_add -r ZendOptimizer If its already added you can proceed with cd /usr/ports/devel/ZendOptimizer/ make install clean After installing you need to edit your php.ini and add the following lines (below lines are just an example you need to add the lines which displays after the make install clean ). [Zend] zend_extension=”/usr/local/ioncube/ioncube_loader_fre_5.2.so” zend_optimizer.optimization_level=15 zend_extension_manager.optimizer=”/usr/local/lib/php/20060613/Optimizer” zend_extension_manager.optimizer_ts=”/usr/local/lib/php/20060613/Optimizer_TS” zend_extension=”/usr/local/lib/php/20060613/ZendExtensionManager.so” zend_extension_ts=”/usr/local/lib/php/20060613/ZendExtensionManager_TS.so” Restart your apache….