Search results

  1. P

    [Resolved]lsws + mod_geoip + modsec = fail

    This does not work since the beginning. In theory, you may try to verify GeoIP match also via enviroement variables, if you have a working standard LSWS+GeoIP setup already. ( phpinfo -> _SERVER["GEOIP_COUNTRY_CODE"] to verify ) Server should pass env variables to mod_security related code...
  2. P

    xcache, wrong UID

    We've runned out of possible suffixes. Any chance for expanding this list ?
  3. P

    GEOIP based rewrite stopped working

    Ok. I'll find a machine we may give you access to. Please PM me your SSH public key and IP you are going to login from.
  4. P

    GEOIP based rewrite stopped working

    you mean "ok - we'll fix it" or "yes - we wanted it to be that way" ?
  5. P

    GEOIP based rewrite stopped working

    I did that. Rewrite debug showed up in /var/log/httpd/domain/domain.com.error.log. The case is that if there are any rewrite rules placed by the user in /home/username/domains/domain.com/public_html/.htaccess, our rules placed in /home/username/.htaccess are not beeing taken into...
  6. P

    GEOIP based rewrite stopped working

    I did what you asked and it showed me nothing realted to that particular rewrite rule. AFAIR on DirectAdmin based servers LSWS was accepting rewrite rules only in two places: /home/username/.htaccess and /home/username/domains/domain.com/public_html/.htaccess Nowhere in between. AFAIS the...
  7. P

    GEOIP based rewrite stopped working

    Yap. That's exactly what I wanted to say, but frankly I cannot predict now during which LSWS version upgrade this functionality was lost. On one server running till now with LSWS 4.2 everything is fine. On 4.2.3 it is not. If it's working on 4.2.1 or 4.2.2 I can't say. I'd rather not to try...
  8. P

    GEOIP based rewrite stopped working

    Hi, We have something like this in every homedir: cat /home/test/.htaccess # RewriteEngine On RewriteCond %{ENV:GEOIP_COUNTRY_CODE} (XX|YY|ZZ) [NC] RewriteRule (.*) - [F] I don't now after which LSWS update, but the code above stopped working. Any chance for repairing that ...
  9. P

    xcache, wrong UID

    an the answer is: so naming it php53cache was not a good idea at all...
  10. P

    xcache, wrong UID

    Hi, In our setup, we've: LSWS 4.2.2 + 3x PHP ( 5.2, 5.3, 5.4 ) as ext. app's build with LSAPI 6.X runing as suexec daemon from cgid. Everyting runs fine. Today I wanted to add another version of PHP with diferent prefix/settings/handler etc. Just a copy&paste of previous config...
  11. P

    [Resolved] Apache VHost GEOIP Country logging

    @Webizen: Yes. I want to log visitors country code at the end of each log entry. @NiteWave: Thank you. Works fine.
  12. P

    [Resolved] Apache VHost GEOIP Country logging

    Hi, We've a DirectAdmin based LiteSpeed setup where for one vhost we need to create a custom LogFormat rule logging also the country code of every request from MaxMind's GEOIP module attached to LSWS natively. What's the correct enviroment variable to use withing httpd.conf to log such...
Top