httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Paulston" <marcop...@gmail.com>
Subject [users@httpd] .jsp files do not resolve "include file" string, when CNAME address is used
Date Tue, 25 Sep 2007 21:49:48 GMT
Hello, running apache 1.3.4 on Solaris 8.
Have a FILE.jsp which has two "include file" strings referenced by it.

First, FILE.jsp works just fine when the FQDN (fully qualified domain name)
is used;
ie, http://HOSTNAME.DOMAIN.com/FOLDER_NAME/FILE.jsp<http://hostname.domain.com/FOLDER_NAME/FILE.jsp>
resolves/imports
the .html files referenced by the "include file" string inside the
FILE.jspbefore it gives it to the client.

However, when a CNAME address is used ( a canonical address referencing
the FQDN), such as http://CNAME.DOMAIN.com/FILE.jsp , the .html
files referenced by the "include file" string inside the FILE.jsp, are not
being resolved before the data is being sent over to the client, as a
result, the FILE.jsp is being sent over to the client the way it is,
(unimporting the two files referenced by the strings.)

Note: CNAME.NAME.com <http://cname.name.com/> is a canonical name of FQDN,
the CNAME.NAME.com <http://cname.name.com/> is specified on the
httpd.confas a Virtual Host entry whose DocumentRoot points to
DOCROOT/FOLDER_NAME.

Thanks,
Mark

Mime
View raw message