Tokens in httpd.conf

luck

Verified User
Joined
May 24, 2011
Messages
30
Hello,
I'm looking for a way to set an "if" condition in httpd.conf based on some token that's beeing set by user on his domain.

For example user checks some checkbox in his domain config setting value to 1 and then in that virtualhost we will use it like that:

|*if xyz=1|
RewriteRule ^do some weird stuff (just example)
|*endif|

Any advice? Can we use unused variables from HTM_ADD_DOMAIN like "cgi" or "php" ?
 
Back
Top