htaccess is a very ancient configuration file that controls the Web Server running your website, and is one of the most powerful configuration files you will ever come across. .htaccess has the ability to control access of the WWW‘s HyperText Transfer Protocol (HTTP) using Password Protection, 301 Redirects, rewrites, and much much more. This is… Read More Htaccess Guide
The example below expresses the following authorization logic. In order to access the resource, the user must either be the
superadmin user, or belong to both the
admins group and the
Administrators LDAP group and either belong to the
sales group or have the LDAP
sales. Furthermore, in order to access the resource, the user must not belong to either the
temps group or the LDAP group
Require user superadmin
Require group admins
Require ldap-group cn=Administrators,o=Airius
Require group sales
Require ldap-attribute dept="sales"
Require group temps
Require ldap-group cn=Temporary Employees,o=Airius
… Read More New in Apache HTTP Server 2.4 – Authorization, FCGI Proxy, and Mod_SSL
Up until today, I was still using eAccelerator on all of my servers. However, a post on the vBulletin.com forums prompted me to give XCache, the new PHP accelerator from the maker of lighttpd, a try. I’ve got to say, while I’ve only been using it for about 6 hours at this point, it blows eAccelerator out of the water, especially once you enable multiple caches (which benefits SMP systems).… Read More PHP Caching and Acceleration with XCache
Accessing a HostGator SVN repository via SVN+SSH on Windows This information should be helpful to anyone trying to access an svn repository stored on a remote (shared) server which does not expose an svn server. My host is HostGator (good speeds, reliable ssh, cgi-only, MyISAM-only, decent support, non-existent knowledgebase). HostGator runs SSH over port 2222… Read More Accessing a HostGator SVN repository via SVN+SSH on Windows
Over the past two months, we’ve received significant community feedback that using a new attribute on the Content-Type header would create a deployment headache for server operators. To that end, we have converted this option into a full-fledged HTTP response header. Sending the new X-Content-Type-Options response header with the value nosniff will prevent Internet Explorer from MIME-sniffing a response away from the declared content-type.
For example, given the following HTTP-response:
HTTP/1.1 200 OK
Date: Thu, 26 Jun 2008 22:06:28 GMT
This page renders as HTML source code (text) in IE8.