Protect .svn folders on Apache or Nginx web servers


Sometimes I use subversion (svn) to publish my latest web sources to web servers and it’s always good to secure your .svn folders on the web server. You can easily do it for an Apache and nginx web servers.

I have published quick config examples below – feel free to use!

Apache config httpd.conf:

<DirectoryMatch .*\.svn/.*>
Deny From All

Nginx config nginx.conf:

location ~ /.svn/ {
deny all;

Read the rest of this entry »

Sorry but the board is temporarily unavailable, please try again in a few minutes. phpbb error

No Comments »

If you have noticed the following error after installing new phpbb forum:

Sorry but the board is temporarily unavailable, please try again in a few minutes

You may want to login into Administrator panel and go to General Tab -Load settings and change value of Limit sessions from 1 to 0 (unlimited).… Read the rest of this entry »

Enable Firefox full URL display

No Comments »

New Firefox versions effectively hide full URL and when you copy the URL it adds http:// or https:// automatically (which is annoying), but it doesn’t show up URL bar by default.

To change it, enter the following in URL location and hit Enter:


Then find the following value:


and Toggle it to False.
This is it, now Firefox will display full URL in a location (URL) bar.… Read the rest of this entry »

MySQL Cluster 7.3 supports foreign keys

No Comments »

Finally, MySQL Cluster 7.3 (not production version thought) supports foreign keys and that’s the feature many folks requested for years. With 7.3 you can drop and add foreign keys in real time – mysql cluster will deliver read/write requests online.

Check out Mysql labs and download MySQL Cluster 7.3 to test out new features and remember that MySQL Cluster 7.3 is not production stable version yet.… Read the rest of this entry »

Knot DNS server installation problem configure: error: liburcu not found

No Comments »

I wanted to test out high-performance Knot DNS server and had problem while installing it on Centos 6.2 64-bit platform. The installation died with the error:

configure: error: liburcu not found

After some minutes of research, I found userspace urcu packages available for downloads at:

Debian and Ubuntu Linux distributions does have these packages in their repositories.… Read the rest of this entry »

Time is running out for IPv4 addresses – get PI space while you still can

No Comments »

Ripe will soon stop assigning PI IPv4 address blocks so you should act fast. You can get an IPv4 /24 PI space for multihoming purpose from Ripe and comply with their allocation policies if you need this space for multihoming.

Ps. This is my first blog post from Android phone!… Read the rest of this entry »

set_real_ip_from and real_ip_header settings for Nginx

No Comments »

A few weeks ago we got a customer with multiple remote proxy servers accelerating customer’s web site for caching and performance issues. As always, I use Nginx as a front end and forwarding all dynamic queries (PHP) to back-end Apache/PHP for processing. And we hit the wall with getting the real client IP and pass it to the back-end Apache so that all posts and comments do show real client IP address. Hey, site admin requires blocking spamming IP blocks as well as flooders!

Front end proxy servers were already set-up to send X-Forwarded-For header with real client IP address.… Read the rest of this entry »

Memcached replication for data redundancy

No Comments »

A lot of high performance web sites use memcached to speed up caching and serve content much faster to the web visitors. By default memcached doesn’t offer any data redundancy and no replication feature – memcached uses server RAM to store all data and if the server hardware fails or it is rebooted all data that’s stored in the memcached daemon will be lost. In order to increase memcached data redundancy and offer high availability you should check out RepCached (Web site: ) – it offers multi-master and asynchronous replication for 1.2.x memcached versions.

You can use Layer-4 load … Read the rest of this entry »

Vmware Vsphere error – A specified parameter was not correct spec.sharesinfo.shares

No Comments »

I tried to edit resource allocation settings and got the following error using Vmware Infrastructure client:

A specified parameter was not correct spec.sharesinfo.shares

To fix the problem and edit resource allocation you should edit values directly from the virtual machine

Login in as Administrator into Vmware Virtual Center using Vmware Infrastructure client. Select the virtual machine you want to modify. Edit Settings. Click Resources tab. Modify the required resource values as required.… Read the rest of this entry »

G-WAN super performance web server daemon


At LKJ.NET blog we usually cover new technologies that allow to scale your web site to new heights. A few weeks ago I spot a new and promising star in the universe – G-WAN web server daemon/software. From the benchmarks it claims to be the fastest web server daemon available on the planet easily beating Nginx and Lighhtpd with a large margin (3-4 times usually). It can easily saturate 10G network up link by serving static content and is ideal for Web 2.0 noSQL stores and similar technologies where phenomenal high speed and low latency is a must.

G-WAN is … Read the rest of this entry »