Making an apache module work only for a particular sub domain

Posted by Abhinav Upadhyay on Server Fault See other posts from Server Fault or by Abhinav Upadhyay
Published on 2010-07-22T15:35:46Z Indexed on 2011/02/13 7:27 UTC
Read the original article Hit count: 548

Hi everyone. I am not a regular webmaster , I am a student working on an internship project which is an Apache2 module, so my knowledge of Apache configuration is limited.

I want to configure my module for a particular sub domain of the host server.

Lets say I want my module to work only for onclick.localhost , then what are the directives required ? I want the module to be invoked only for the hosts/virtualhosts for which it has been configured explicitly.

I know how to setup sub domains in Apache, so that's not a problem.

Thanks.

© Server Fault or respective owner

Related posts about apache

Related posts about configuration