Below you will find pages that utilize the taxonomy term “Apache”
Git directory outside working directory
I have an old PHP website that I wanted to have its code/content versioned with Git, normally Git setup the repo directory in the “.git” directory inside the working directory, but I faced a problem, if the working directory is accessible from the web server it means “.git” is also accessible too.
Luckily git have an option to have the repo directory located somewhere else using the GIT_DIR environment variable, so here what I did:
Configuring IPv6 in your server
Getting IPv6 connectivity to your server isn’t very hard in fact if you have a decent provier you might already have it configured.
Do you have IPv6 already configured?
First try this command
$ ifconfig -a
You will have result like this:
eth0 Link encap:Ethernet HWaddr 00:1e:0b:d6:7b:b8 inet addr:88.85.245.43 Bcast:88.85.245.47 Mask:255.255.255.248 inet6 addr: fe80::21e:bff:fed6:7bb8/64 Scope:Link :he-ipv6 Link encap:IPv6-in-IPv4
inet6 addr: 2001:470:1f08:1160::2/64 Scope:Global inet6 addr: fe80::5855:f52b/64 Scope:Link :lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host :
nginx [Engine X] enters webserver top 5
nginx [Engine X] became the world 4th most popular web server, according to the latest Netcraft survey.
It is an event based web server, which makes really scalable especially for static files, so if you are serving many images, audio files, video, you might consider it.
It can also configured to work as HTTP and mail proxy.
Of course you should look also at Lighttpd [Lighty] which work with the same principle, and I have been using it for around 2 years for alriyadh.com