• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Search results

  1. M

    Question tell apache to not log certain requests

    Problem currently is that .htaccess is not for some reason able to set an env variable. Somewhere I've red that it requires mod_env module in apache. But seems that this module is included in Plesk by default, though I am not sure - it is in one file that apache httpd.conf is including, but then...
  2. M

    Question tell apache to not log certain requests

    Hello, how to tell apache not to log certain requests in log files ? Could you please provide step by step instrucitions? Things i've already tried: 1) added into .htaccess two lines: AllowOverride FileInfo SetEnvIf Request_URI ".*" dontlog 2) then there should be added something like this...
  3. M

    Issue Log entries displayed twice

    @Igor Losev Dates are correct, both in raw log file and in Plesk's output. Raw Apache SSL/TLS access content: xxx.xx.xxx.xx - - [25/Apr/2018:10:50:57 +0300] "GET /Asomething HTTP/1.0" 200 1918 "Google" "Mozilla/5.0" xxx.xx.xxx.xx - - [25/Apr/2018:10:50:58 +0300] "GET /Bsomething HTTP/1.0" 200...
  4. M

    Issue Log entries displayed twice

    @Igor Losev Another observation - it happens only for the part of log displayed without clicking "Load previous entries". Additional entries loaded after clicking "load previous entries" - those are no more duplicating.
  5. M

    Issue Log entries displayed twice

    nah, it's back, doing the same thing again
  6. M

    Issue Log entries displayed twice

    Hey there, several days ago Plesk asked for big updated, i proceed.. then Advisor extension came up saying "hey, you are not using http 2 do you want to?", sure, installed it and then this started to happen... found how to manually disable http 2 and roll back to http 1, but issue still...
  7. M

    Issue Log entries displayed twice

    Hey there, just noticed for one subdomain - every log entry coming from "Apache SSL/TLS access" or "nginx SSL/TLS access" in Plesk is displayed twice. It goes like this (entry A) Apache SSL/TLS access (entry A) Apache SSL/TLS access (entry B) nginx SSL/TLS access (entry B) nginx SSL/TLS access...
  8. M

    Question Limiting logs to 30 days

    Oh, super cool! You saved my day! Thank you so much! :)))
  9. M

    Question Limiting logs to 30 days

    and that can be created as scheduled task from within Plesk's scheduler?
  10. M

    Question Limiting logs to 30 days

    logs themselves might get rotated, though those archives - those are from ancient times :)
  11. M

    Question Limiting logs to 30 days

    Yep the same one, though despite that i have set Log Rotation monthly, max no of log files = 3, compress log files, there's full of archived log files, god knows kept for how long.. what i want is to see only past 30 days logs, nothing more, no archives from previous year, no nothing, pure past...
  12. M

    Question Limiting logs to 30 days

    Does it include apache logs or just Plesk admin panel access logs? In my case - i need apache http access logs that register every single web-page request.
  13. M

    Question Limiting logs to 30 days

    Hello, how do i set a lifetime for all access logs? Like http, nginx etc. Let's say I would like to hold no more than 30 days of logs in my server and do not archive anything past that. So my server do not hold any log info for what happened before 30 days. Thanks
  14. M

    Question max_execution_time set from PHP script

    am i the only one questioning this situation and noone understands why this happens in default setup? strange...
  15. M

    Question max_execution_time set from PHP script

    Hey gang, CentOS, Plesk Onyx, default everything! How can I set max_execution_time from PHP script (I need this for particular scripts only) This for example is simply not wokring: ini_set('max_execution_time', 10); for ($i=0; $i<1690; $i++){ echo $i . "<br>"; sleep(1)...
  16. M

    Question Fail2Ban filter for this strange log entry?

    This was a malicious traffic, not a regular one, that's why i am asking how to auto-ban such requests through Fail2Ban based on the line i provided from logs. Thanks.
  17. M

    Question Fail2Ban filter for this strange log entry?

    Hello, I've recently found several very strange entries in my access log: xx.xxx.xx.xx - - [08/Oct/2017:00:23:56 +0300] "" 400 0 "-" "-" there is no host, there is no post or get or anything.. only IP and error number, my question is how would Fail2Ban's filter look to ban this IP? failregex =...
  18. M

    Resolved mysql_tzinfo_to_sql

    Fantastic, this one worked, wondering why they do not put these simple things in their tutorial pages so beginners could easily make thing shappen. Thank you so much!
  19. M

    Resolved mysql_tzinfo_to_sql

    [root@servah ~]# mysql_tzinfo_to_sql /usr/share/zoneinfo | MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin ERROR 1046 (3D000) at line 4: No database selected Same problem
  20. M

    Resolved mysql_tzinfo_to_sql

    Hello guys, could anyone give a hand how to populate mysql timezones? so far I tried this (since mysql's admin password in plesk is always unknown and i should get it from psa.shadow) but the output is: [root@servah ~]# mysql_tzinfo_to_sql /usr/share/zonefile | MYSQL_PWD=`cat...
Back
Top