[Techtalk] Apache: different handlers in a directory

Devdas Bhagat devdas at dvb.homelinux.org
Sat Mar 12 01:54:49 EST 2005


On 11/03/05 08:25 -0500, Elwing wrote:
> You may have already tried this, but what about leaving the master
> httpd.conf alone and creating .htaccess files for each directory?
> 
> IIRC, apache reads those first, *then* the "master".  maybe you can set
> up the fastCGI in the master file, and use a lone .htaccess file for the
> exception?

The other way round. The global file is read first, and then overridden
by the .htaccess if the global configuration allows it.

This is similar to other Unix software, where the global configuration
is first read, and then overridden by the contents of the ~/.app config
files, allowing for per user customisation of applications.

Devdas Bhagat


More information about the Techtalk mailing list