LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Rewrite error in newly instantiated virtual host

Reply
 
Thread Tools Display Modes
  #1  
Old 12-23-2007, 06:38 PM
phillipkoebbe phillipkoebbe is offline
Member
 
Join Date: Dec 2007
Location: Illinois, USA
Posts: 14
Default Rewrite error in newly instantiated virtual host

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?
__________________
Peace,
Phillip
Reply With Quote
  #2  
Old 12-24-2007, 09:11 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
What exactly is the rewrite rule?
Reply With Quote
  #3  
Old 12-24-2007, 09:37 AM
phillipkoebbe phillipkoebbe is offline
Member
 
Join Date: Dec 2007
Location: Illinois, USA
Posts: 14
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?
__________________
Peace,
Phillip
Reply With Quote
  #4  
Old 12-24-2007, 01:18 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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.
Reply With Quote
  #5  
Old 12-25-2007, 06:38 AM
phillipkoebbe phillipkoebbe is offline
Member
 
Join Date: Dec 2007
Location: Illinois, USA
Posts: 14
Thank you, mistwang. I will pull it down soon and give it a whirl.

Thanks for the great product and support!
__________________
Peace,
Phillip
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:28 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.