Skip to Content

Blogs

Fixing SSL handshake failed: error on SVN checkout

I was trying to findout the reason for the same.
Wasted lot of time in checking out through my ubuntu 11.10 version but still couldn't get any solution.
svn: OPTIONS of 'https://mysite.com/myrepository/project1': SSL handshake failed: SSL error: Key usage violation in certificate has been detected. (https://mysite.com)
I finally foundout that its problem of libneon after googling alot.

Tags: 

Difference Between Include() Vs Include_once() In Php

The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again. As the name suggests, it will be included just once.
 
 

ok, what does this mean exactly? lets say for example, i have three files, 

 

FILES: 

FUNCTIONS.PHP 

GLOBALS.PHP 

HEADER.PHP 

this is how each file looks like:

Tags: 

Quickstart guide Varnish on Ubuntu

Lets install Varnish :

Here we will consider the ubuntu as my OS is the same :P.

simply use.
#sudo apt-get install varnish

It will show the dependency tree for the varnish so just install.
In this case you don't have to build the packages and configure like other *nix.

Using varnish Servers :

Varnish has a concept of "backend" or "origin" servers. A backend server is the server providing the content Varnish will accelerate.

The default configuration file located at :
/etc/varnish/default.vcl

Tags: 

Pages

Subscribe to RSS - blogs