I've tried:
setting the enviroment virable:
retrieving the variable in the same config file:
Please help, Its freaking me out. Thanks
SetEnvIf Host "^([^.]*).domainx.tldx$" SUBDOMAIN=$1
looks ok (provided the domain you're using it on is *.domainx.tldx)
But you have to reference the variable like this:
%{ENV:SUBDOMAIN}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With