Posts

Client denied by server configuration error

Client denied by server configuration error in Apache. Wed, 01/23/2008 - 00:33 — artur Just in case if somebody else has a similar problem and can't get the Apache server working as expected. I have tried to setup proxy_mod under apache to forward HTTP traffic from AJAX Jabber client to the Bosh component running on Tigase server. It was working fine for a long time on my Gentoo server. I have recently wanted to run more tests on a separate machine and had this problem. It was a system based on the Debian distribution and the proxy_mod didn't want to work at all displaying the error message in a log file: [error] [client ::1] client denied by server configuration: proxy:http://127.0.0.1:5280/xmpp/ , referer: http://localhost/F5A379CEC35AEBCC5FFA11BA8A33CD02.cache.html All you need to do is to modify proxy.conf file for your Apache2 installation and setup proper permissions. By default the proxy is disabled for all. In my case I had to enable it just f...

grep command

article from  http://www.esmerel.com/wagons/rob/grep.html   Grep in everyday life Using GREP for regular expression searching Introduction GREP (General Regular Expression Program) is a search tool for finding strings in text files. I frequently use it for finding specific pieces of code in the source files. This section of the document describes some of the ways I use GREP, and some of the helpful options and types of regular expressions which make GREP more than just a string finder. One thing to keep in mind is that GREP is case sensitive. If you want to pass multiple options to GREP, it expects that you will concatenate the options and use only one - . The order of the options does not matter, but the options must be specified before the regular expression. Searching through all your source files (*.?) Since a typical project uses only two types of source files, C (.C) and header (.H), you can tell GREP to search your entire set of source files by us...

irssi and screen linux

http://quadpoint.org/articles/irssi using irssi and sscreen command

facebook command line

This is my online notebook below is not my howto i just copied it.   This article is from  http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/   { 2010 02 13 } Facebook Chat In Bitlbee It’s no surprise that Bitlbee is my chat client of choice. After all, I’ve blogged about it before. So, when I heard rumors that Facebook would be releasing their chat to outside clients over XMPP, I was excited to see the day when I could add it to my running Bitlbee instance. Lo and behold, that day has come . Adding your Facebook account to Bitlbee is rather painless, as it is with any other account. The only catch, is you have to have a Facebook username set before you can continue. Once that is set, in Bitlbee, from your “&btilbee” status window, you can add the account: account add jabber @chat.facebook.com save account on That’s it! You should be up and running with a new XMPP connection to the Facebook chat. However, rather quickly, you’ll notice that the user...

How to sync data between 2 servers automatically

FROM http://www.howtomonster.com/2007/08/08/how-to-sync-data-between-2-servers-automatically/ How to sync data between 2 servers automatically Have you ever wanted to know how to easily synchronize the data between multiple servers automatically? In this article I’ll explain how to setup 2 Linux servers to automatically synchronize data between a specific directory on each server. To do this we will use rsync, ssh key authentication, and a cron job. Let’s call the 2 servers ‘SOURCESERVER’ and ‘DESTSERVER’ for SOURCESERVER = Source server (the server we’re connecting from to upload the data) DESTSERVER = Destination server (the server we’re connecting to receive the data) Part 1 - Setting up SSH key authentication First, we need to make sure the DESTSERVER has the ability to use key authentication enabled. Find your sshd configuration file (usually ‘/etc/ssh/sshd_config’) and enable the following options if they are not already set. RSAAuthentication yes PubkeyAuthent...

apache hide version and php hide version linux

From  http://www.debianadmin.com/apache-tipshide-apache-information-php-software-version.html Apache Tips:Hide Apache Information & PHP software version Posted by Admin on March 1st, 2007 By default, Apache will send version and modules information (e.g., mod_php, mod_perl, mod_ssl) in every HTTP header. If you want to view Apache web server version and sofware of a remove server you follow this procedure telnet www.example.com 80 Trying www.example.com.com… Connected to www.example.com. Escape character is ‘^]’. HEAD / HTTP/1.0 <- after this press 2 times ENTER HTTP/1.1 200 OK Date: Fri, 09 Jan 2007 18:18:26 GMT Server: Apache/2.0.55 (Debian) PHP/5.1.2-1+b1 mod_ssl/2.0.55 OpenSSL/0.9.8b Connection: close Content-Type: text/html; charset=UTF-8 Connection closed by foreign host. In the above example it is showing all the details about your web server and php this is not recommended for security reasons.We need to hide this information with the followi...

tcpserver: fatal: unable to bind: address already used

A problem arised one day, I cannot see my smtp server! Checked on the error of qmail and checked the net for a fix  Problem tcpserver: fatal: unable to bind: address already used tcpserver: fatal: unable to bind: address already used another process is using port 25  netstat -anp |grep LIST  service exim stop then used this command so that it wont run again mv /usr/sbin/exim /usr/sbin/exim.old