If you want to set the expiration to your site means after some date or year your site shows custom error on the page then you can add following code in index page below the "<?php" code and set...
Month: March 2010
ruby lib version (1.8.7) doesn't match executable version
Error : When accessing the page and it shows the "Internal server errror" and the server logs shows the folloging error /home/username/public_html/rubytest2.htm:6: /usr/local/lib/ruby/1.8/i686-linux/rbconfig.rb:7: ruby lib version (1.8.7) doesn't match executable version (1.8.6) (RuntimeError) Premature end of script headers: /home/username/public_html/cgi-bin/eruby.cgi File...
How to install mplayer on linux server
You can get MPlayer via Subversion. Issue the following command to get the latest sources: root@server cd /usr/local/src svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer root@server svn update root@server cd mplayer root@server./configure root@server make root@server make install Done You can check the path...
cgi_bin shows the internal server error
Error: 500 internal server error is shown when access URL http://domain.com/cgi-bin/index.php Solution : Add the following Handler in httpd.conf file or .htaccess file. AddHandler application/x-httpd-php .php Done