Closed Bug 299746 Opened 20 years ago Closed 20 years ago

Code for non-standard server-side include file extensions do not display in the page's source

Categories

(Toolkit :: View Source, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: clemudelt, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 View the source for http://www.pga.com/cpc/2005/. There is an include for the file "home_course.incl". That file is processed correctly by the server and client, but the code does not display. Other .html files are processed correctly. I know this because I work for pga.com and the pre-processed code has .html includes. Reproducible: Always Steps to Reproduce: 1. Go to http://www.pga.com/cpc/2005/ 2. View the souce 3. Search for "home_course.incl" Actual Results: <!--include file="/cpc/2005/includes/home_course.incl"--> displays in the view source and not the actual processed code. Expected Results: The server processed code should replace the server-side include.
Server side includes happen at the server. If any of them aren't being applied then it is because the server isn't applying them. It is not a Firefox issue. You will notice that viewing the source from IEE also reveals the same text.
Indeed. That's why it's a *server-side* include. Your webserver is somehow skipping over this line, and that's why you can see it in the browser.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
for what it's worth, you missed the # <!--include file="/cpc/2005/includes/home_course.incl"--> should be <!--#include file="/cpc/2005/includes/home_course.incl"-->
Thanks for all your help. Sorry for the inconvenience.
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.