Setting root based on Host: header

Samuel Vogel samydelux at gmail.com
Mon Oct 20 01:00:06 MSD 2008


Hey guys,

Could somebody tell me how I would set the "root"-Variable based up on 
the contents of the Host: Header?
I have a host header like this: 345232.user.domain.net

I would like to construct a root like this: /www/345232

Thanks,
Samy





More information about the nginx mailing list