RewriteRules deleted

Marcus

Well-Known Member
#1
Hi,

When trying to edit any of the three sections in the virtual host rewrite section (i.e. Rewrite Control, Rewrite Map and Rewrite Rule), when the settings are saved to one, the settings from the other two sections are deleted.

Also, when I add a RewriteRule, it automatically sets the rules to on, but if I turn them off, all other info is deleted (as above).

It appears that the information is not being saved to the config file - I've had to add everything manually there.

I'm using LSWS version 4.0b3.

Just in case anyone is wondering what sections you need to edit in the conf file (before the issue is resolved), you'll put your rewrite rules in a section like below.

<rewrite>
<enable>1</enable>
<logLevel></logLevel>
<rules>RewriteRule ^(.*)$ \1.shtml</rules>
</rewrite>

Thanks.
 
Last edited:

Marcus

Well-Known Member
#2
Context information also doesn't save

I've just done a little more checking, and it appears that the Context settings also are not saved. This only happens when in the Virtual Hosts - the Virtual Host Templates section seems fine.

I've checked versions 3.3.23 and 4.0b3 and they both have the same problems.
 

Marcus

Well-Known Member
#3
Bug invalid

Sorry to waste people's time - I found out the filesystem permissions had accidentally got changed - this was causing the issue.

No problem, it seems.
 
Top