Rewrite error in newly instantiated virtual host

Discussion in 'General' started by phillipkoebbe, Dec 24, 2007.

  1. phillipkoebbe

    phillipkoebbe New Member

    Using the existing Rails virtual host template, I have an existing member called redmine. When I do a graceful restart, there are no errors reported on the Home page of the server administrator. If I then go in a create a new member of the template called vsiep, I get the follow error in the log after doing a graceful restart:

    [config:vhost:vsiep:context:/] rewrite: Rewrite rule missing substitution string. while parsing: RewriteRule ^$

    The site works, but this error is on the log. If I instantiate it and do another graceful restart, the error goes away. But that defeats the purpose of the template.

    Any ideas?
  2. mistwang

    mistwang LiteSpeed Staff

    What exactly is the rewrite rule?
  3. phillipkoebbe

    phillipkoebbe New Member

    Hi mistwang,

    I can only assume that it's the rewrite rule in the Rails context of the EasyRailsWithsuEXEC template. I have not added/changed anything to do with rewrites as I'm not knowledgeable about them.

    RewriteRule ^$ index.html [QSA]
    RewriteRule ^([^.]+)$ $1.html [QSA]

    Is there some place else in the configuration that I could find a rewrite rule?
  4. mistwang

    mistwang LiteSpeed Staff

    OK, fix to this issue is in the 3.3.4 release. build for Linux 32bit and 64bit packages are available now, just change the version number in download link to get it.
  5. phillipkoebbe

    phillipkoebbe New Member

    Thank you, mistwang. I will pull it down soon and give it a whirl.

    Thanks for the great product and support!

Share This Page