Activity Stream
48,167 MEMBERS
6848 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 2 of 2
  1.     
    #1
    Member

    Default lighttpd parse error

    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
    Mutikasa Reviewed by Mutikasa on . lighttpd parse error Hi, I'm trying to add vhost like: $HTTP =~ ?(^|\.)example\.info$? { server.document-root = ?/var/www/example.info″ } but it gives me error when I restart 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: =~ Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    imdber.org justpaste.me
    Your double quotes, (they're very artistic. )

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sborg Parse Error
    By aggiefury101 in forum Technical Help Desk Support
    Replies: 13
    Last Post: 4th Jun 2011, 08:26 PM
  2. AutoUpload Parse Error
    By aggiefury101 in forum Technical Help Desk Support
    Replies: 2
    Last Post: 31st May 2011, 01:18 PM
  3. Help me in Lighttpd [403 - Forbidden] Error
    By SnowDoN in forum Server Management
    Replies: 2
    Last Post: 27th Oct 2010, 11:14 AM
  4. Getting a parse error (OOP) PHP
    By timtamboy63 in forum Web Development Area
    Replies: 2
    Last Post: 23rd Jul 2010, 04:11 AM
  5. [Help] Site map gives parse error
    By bluedevil in forum vBulletin
    Replies: 2
    Last Post: 21st Oct 2009, 10:43 AM

Tags for this Thread

BE SOCIAL