http
http copied to clipboard
Is it possible to get subdomain as variable?
I need to use rules like:
//[<sub>.]domain.com/path/<id>
and get variables sub and id for db query. If host == domain.com, variable sub must have default value. Can I achieve that with that module?