Month: February 2010

Error and solution, htaccess

Redirect domain to .cgi file

If you want to redirect your domain http://domain.co.uk to http://domain.co.uk/cgi-bin/test/subdirectory/test.cgi file then add the following rewrite rule in .htaccess file ==================== Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.domain\.co\.uk$ RewriteRule ^/?$ "http\:\/\/www\.domain\.co\.uk\/cgi-bin\/test\/subdirectory\/test\.cgi$1" ==================== Or ==================== http://domain.com to http://domain.com/cgi-bin/subdirectory/test.cgi then add the...

Installation

How to install xpdf,libXp and antiword on Linux

How to install xpdf , libXp and antiword on Linux (Centos or Redhat 32 Bit ) servercd /usr/local/src/Dowload following RPM's files under the /usr/local/src/ directrory.wget http://mit.edu/zacheiss/dev/rhlinux/redhat-7.1-updates/SRPMS/xpdf-0.92-4.71.0.src.rpmwget ftp://ftp.univie.ac.at/systems/linux/fedora/core/6/i386/os/Fedora/RPMS/libXp-1.0.0-8.i386.rpmwget http://dag.wieers.com/rpm/packages/antiword/antiword-0.37-3.el5.rf.i386.rpm or http://dag.wieers.com/rpm/packages/antiword/?N=AThen rpm -ivh xpdf-0.92-4.71.0.src.rpmrpm -ivh libXp-1.0.0-8.i386.rpmrpm -ivh antiword-0.37-3.el5.rf.i386.rpmThen you can check...