lighttpd parse error

daferx

New Member
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 Your double quotes, (they're very artistic.
laugh.gif
)
 
Top