This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29688 - The Server Side Include statements in header.html not being parsed
Summary: The Server Side Include statements in header.html not being parsed
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: Website (show other bugs)
Version: HEAD
Hardware: PC Linux
: P2 major
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-06 13:22 UTC by Nadir Latif
Modified: 2018-05-09 20:10 UTC (History)
0 users

See Also:
jordancarrillo530: needinfo+


Attachments
website of validator shows errors from server side includes (102.27 KB, image/png)
2016-06-06 13:22 UTC, Nadir Latif
Details

Description Nadir Latif 2016-06-06 13:22:04 UTC
Created attachment 1644 [details]
website of validator shows errors from server side includes

Hello,

Apache 2.4 uses a new syntax for server side includes. See this link for reference: http://stackoverflow.com/questions/14568868/apache-2-4-3-ssi-if-expr-no-variables

Thanks,
Nadir Latif
Comment 1 Nadir Latif 2016-06-06 13:23:19 UTC
Following error shows in apache error logs:

[Mon Jun 06 17:29:27.114572 2016] [include:error] [pid 21147] [client 127.0.0.1:54092] AH01337: Could not parse expr "$feeds = 1" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'
[Mon Jun 06 17:29:28.770973 2016] [include:error] [pid 21151] [client 127.0.0.1:54096] AH01337: Could not parse expr "$QUERY_STRING = /(^|[;&])debug(=[^0]?)?(\\b|$)/" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'
[Mon Jun 06 17:29:28.771149 2016] [include:error] [pid 21151] [client 127.0.0.1:54096] AH01337: Could not parse expr "$includeJS = 1" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'
[Mon Jun 06 17:29:28.771185 2016] [include:error] [pid 21151] [client 127.0.0.1:54096] AH01337: Could not parse expr "$debug = 1" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'
[Mon Jun 06 17:29:28.771247 2016] [include:error] [pid 21151] [client 127.0.0.1:54096] AH01337: Could not parse expr "$feeds = 1" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'
[Mon Jun 06 17:29:30.770183 2016] [include:error] [pid 21147] [client 127.0.0.1:54092] AH01337: Could not parse expr "$QUERY_STRING = /(^|[;&])debug(=[^0]?)?(\\b|$)/" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'
[Mon Jun 06 17:29:30.777349 2016] [include:error] [pid 21147] [client 127.0.0.1:54092] AH01337: Could not parse expr "$includeJS = 1" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'
[Mon Jun 06 17:29:30.777389 2016] [include:error] [pid 21147] [client 127.0.0.1:54092] AH01337: Could not parse expr "$debug = 1" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'
[Mon Jun 06 17:29:30.777423 2016] [include:error] [pid 21147] [client 127.0.0.1:54092] AH01337: Could not parse expr "$feeds = 1" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'
[Mon Jun 06 18:09:37.930440 2016] [include:error] [pid 21149] [client 127.0.0.1:54161] AH01337: Could not parse expr "$QUERY_STRING = /(^|[;&])debug(=[^0]?)?(\\b|$)/" in /usr/local/markup-validator/htdocs/header.html: Parse error near '$'