Re: [users@httpd] Using variables with mod_substitute to rewrite dynamically

2017-11-24 Thread Vlad Liapko
, Vlad From: Luca Toscano Sent: Friday, November 24, 2017 1:06 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Using variables with mod_substitute to rewrite dynamically Hi Vlad, 2017-11-23 16:29 GMT+01:00 Vlad Liapko : Hi, I’m trying to substitute a server name dynamically

Re: [users@httpd] Using variables with mod_substitute to rewrite dynamically

2017-11-24 Thread Luca Toscano
Hi Vlad, 2017-11-23 16:29 GMT+01:00 Vlad Liapko : > Hi, > > I’m trying to substitute a server name dynamically in xml responses > Substitute s|http://blah.com|${SERVER_NAME}|n > to now success. Apache complains conf variable is not defined, but it is > there in VirtualHost. > > So far I was able

[users@httpd] Using variables with mod_substitute to rewrite dynamically

2017-11-23 Thread Vlad Liapko
Hi, I’m trying to substitute a server name dynamically in xml responses Substitute s|http://blah.com|${SERVER_NAME}|n to now success. Apache complains conf variable is not defined, but it is there in VirtualHost. So far I was able only to use and put a specific substitute for a specific host.