[users@httpd] Authentication between multiple virtual hosts

2016-08-19 Thread Joseph L. Casale
I have a couple sites protected with mod_ldap, the first site emits urls with query parameters pointing to the second site. Of course by default if you have authenticated to both sites this works however that is not the most convenient as access to the first site is usually what is of interest. G

Re: [users@httpd] RewriteCond: backreferences in TestString

2016-08-19 Thread Eric Covener
> something like this: > RewriteCond /patch/ver(70) -f > RewriteRule ^([^?]*)\.php(.*)$ http://127.0.0.1:100%1%{REQUEST_URI} [NC,L,P] That's valid, but it doesn't exactly match the subject of the email (which would not work) -- Eric Covener cove...@gmail.com

[users@httpd] RewriteCond: backreferences in TestString

2016-08-19 Thread Alexey Vlasov
Hi, I oo dynamically switch PHP versions but it turns out too many rules. Can it somehow easier? ## PHP 5.2 RewriteCond /patch/ver52 -f RewriteRule ^([^?]*)\.php(.*)$ http://127.0.0.1:10052%{REQUEST_URI} [NC,L,P] ... ## PHP 5.6 RewriteCond /patch/ver56 -f RewriteRule ^([^?]*)\.php(.*)$ http://127