1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

RewriteLock Help

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Tom Allitt, May 19, 2010.

  1. Tom Allitt

    Tom Allitt Guest

    0
     
    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
     
Loading...