• 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

Question Logging rewrites

cleatsandcode

New Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
Version 18.0.53 Update #2
Hi,

Is there a simple way to turn on/access rewrite logging on apache/nginx? I'm trying to get to the bottom of random 404's and and other random redirects that sometimes work, sometimes not through the same steps and need to enable log debug/level6-8 but cant find a simple way. SSH'ing in and CD'ing to the server root for the domain wont give me permission. Even with the trusty sudo.

All help is appreciated!
 
Are you logged in as root? Or another user?
Try:
Bash:
cd /var/www/vhosts/[your-domain]/
ok so sudo su into it is working but I need to see/work out how to modify the log level to diagnose the pesky rewrite issues... Do you know where I can find these configs please?
 
Back
Top