lighttpd parse error

Status
Not open for further replies.

Mutikasa

Active Member
314
2011
36
0
Hi,
I'm trying to add vhost like:
Code:
$HTTP["host"] =~ (^|\.)example\.info$ {
server.document-root = /var/www/example.info″
}

but it gives me error when I restart
Code:
2012-02-15 07:38:57: (configfile.c.859) source: /etc/lighttpd/lighttpd.conf line: 37 pos: 13 invalid character in variable name 
2012-02-15 07:38:57: (configfile.c.915) configfile parser failed at: =~

how where why?
thanks

---------- Post added at 06:18 AM ---------- Previous post was at 05:09 AM ----------

I got it, it's the quotations, funny
 
1 comment
Status
Not open for further replies.
Back
Top