Webconfig

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #224
    riro
    Participant

    I’m on svn-909 and every page in the webinterface works fine, as long as I don’t try config.html

    In all textboxes there is “@WEB_ROOT@” and “@PLAYLIST@” and so on..

    … strange.

    … so I started to create a smaller html-file and put the server in debug… and that didnt take me any longer.

    FYI:
    – I tried to change from upper to lower case in test.html, no change.

    //Rikard

    My /opt/share/mt-daapd/admin-root/test.html:




    Version: @VERSION@
    WebRoot: @WEB_ROOT@


    Source of http://192.168.100.2:3689/test.html




    Version: svn-909
    WebRoot: @WEB_ROOT@


    Output of /opt/sbin/mt-daapd -c /root/mt-daapd/mt-daapd.conf -f -d 9 -D webserver


    Thread 7: Entering ws_dispatcher (Connection from 192.168.100.1)
    Thread 7: got request
    Request: GET /test.html HTTP/1.1
    Thread 7: Read: Host: 192.168.100.2:3689
    Thread 7: Adding header *Host=192.168.100.2:3689*
    Added *Host=192.168.100.2:3689*
    Thread 7: Read: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
    Thread 7: Adding header *User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1*
    Added *User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1*
    Thread 7: Read: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Thread 7: Adding header *Accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5*
    Added *Accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5*
    Thread 7: Read: Accept-Language: en-us,en;q=0.5
    Thread 7: Adding header *Accept-Language=en-us,en;q=0.5*
    Added *Accept-Language=en-us,en;q=0.5*
    Thread 7: Read: Accept-Encoding: gzip,deflate
    Thread 7: Adding header *Accept-Encoding=gzip,deflate*
    Added *Accept-Encoding=gzip,deflate*
    Thread 7: Read: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Thread 7: Adding header *Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7*
    Added *Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7*
    Thread 7: Read: Keep-Alive: 300
    Thread 7: Adding header *Keep-Alive=300*
    Added *Keep-Alive=300*
    Thread 7: Read: Connection: keep-alive
    Thread 7: Adding header *Connection=keep-alive*
    Added *Connection=keep-alive*
    Thread 7: Read: Authorization: Basic bXQtZGFhcGQ6bXQtZGFhcGQ=
    Thread 7: Adding header *Authorization=Basic bXQtZGFhcGQ6bXQtZGFhcGQ=*
    Added *Authorization=Basic bXQtZGFhcGQ6bXQtZGFhcGQ=*
    Thread 7: Read: Cache-Control: max-age=0
    Thread 7: Adding header *Cache-Control=max-age=0*
    Added *Cache-Control=max-age=0*
    Thread 7: Read:
    Thread 7: Headers parsed!
    Checking to see if connection matches close
    And it does NOT
    Thread 7: Connection type HTTP/1.1
    : Connection: persist
    Thread 7: Original URI: /test.html
    Thread 7: Translated URI: /test.html
    Thread 7: Preparing to find handler
    Thread 7: URI Match!
    Thread 7: Time is 1112904607 seconds after epoch
    Thread 7: Setting time header
    Added *Date=Thu, 7 Apr 2005 20:10:07 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-909*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 7: Using non-default handler
    Preparing to decode bXQtZGFhcGQ6bXQtZGFhcGQ=
    Decoded mt-daapd:mt-daapd
    Decoded user=mt-daapd, pw=mt-daapd
    Added *HTTP_USER=mt-daapd*
    Added *HTTP_PASSWD=mt-daapd*
    Entering config_handler
    Updating Connection from keep-alive to close
    Thread 7: Preparing to serve /opt/share/mt-daapd/admin-root/test.html
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/html
    Emitting reponse header Server: mt-daapd/svn-909
    Emitting reponse header Connection: close
    Emitting reponse header Date: Thu, 7 Apr 2005 20:10:07 GMT
    Thread 7: Served successfully
    Thread 7: Terminating
    Thread 7: Freeing request headers
    Thread 7: Freeing response headers
    Thread 7: Freeing request vars
    Thread 7: Closing fd
    With thread 7 exiting, 0 are still running
Viewing 1 post (of 1 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.