• 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

RewriteLock Help

T

Tom Allitt

Guest
Hello,

I am hoping that someone can help me. I have create a rewrite map that uses a perl script. I need to create a rewritelock file for every session that uses this rewrite map to prevent user output being mixed up. Normally you would put this line in the httpd.conf file. However with plesk you are not supposed to edit this file. Therefore I have tried putting it in the vhost_ssl.conf file where my rewritemap is defined. However whenever I try to restart my apache server I get told that RewriteLock cannot occur within <VirtualHost> section. Is this because I am defining this in the vhost_ssl.conf or is it more likely to be the directory I am specifying for the lockfile to be written? Does anybody know how I can solve this problem?

Many Thanks

Tom
 
Back
Top