[Bug 29536] New: Server Side Include directives not being processed by server

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29536

            Bug ID: 29536
           Summary: Server Side Include directives not being processed by
                    server
           Product: Validator
           Version: HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Templates
          Assignee: dave.null@w3.org
          Reporter: nadir@pakjiddat.com
        QA Contact: www-validator-cvs@w3.org
  Target Milestone: ---

Created attachment 1640
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1640&action=edit
web page shows error

Hello,

I am getting this error on the browser: [an error occurred while processing
this directive]. See attached screenshot. The web server error log shows
following error: 

[Wed Mar 16 16:21:07.179929 2016] [include:error] [pid 16232] [client
127.0.0.1:47093] AH01337: Could not parse expr "$debug = 1" in
/usr/local/src/markup-validator/htdocs/header.html: Parse error near '$',
referer: http://validator.pakphp.com/w3c-validator/check
[Wed Mar 16 16:21:07.180010 2016] [include:error] [pid 16232] [client
127.0.0.1:47093] AH01337: Could not parse expr "$feeds = 1" in
/usr/local/src/markup-validator/htdocs/header.html: Parse error near '$',
referer: http://validator.pakphp.com/w3c-validator/check
[Wed Mar 16 16:28:31.803677 2016] [include:error] [pid 16296] [client
127.0.0.1:47119] AH01337: Could not parse expr "$QUERY_STRING =
/(^|[;&])debug(=[^0]?)?(\\b|$)/" in
/usr/local/src/markup-validator/htdocs/header.html: Parse error near '$'
[Wed Mar 16 16:28:31.803939 2016] [include:error] [pid 16296] [client
127.0.0.1:47119] AH01337: Could not parse expr "$includeJS = 1" in
/usr/local/src/markup-validator/htdocs/header.html: Parse error near '$'


The webserver is apache 2.4. It is running on Debian Jessie and has a private
ip.

It seems some of the server side include statements given in header.html are
not being processed correctly by the webserver. The statements containing
variables are given errors. I got rid of the error by entering following line
in header.html: <!--#config errmsg="" -->. I used this link for reference:
http://httpd.apache.org/docs/current/howto/ssi.html

Thanks,
Nadir Latif

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 16 March 2016 11:55:31 UTC