> Hello,
> 
> I recently decided to set up a Fedora server and copied my XHTML
> pages over from a SuSE 9.0 Pro server.  The XHTML pages were displayed
> properly on the SuSE server (in IE, Konquerer, Firefox), and on 
> Shaw's personal web pages, but Fedora is displaying only a blank page.
> 
> So the problem must be in the Apache configuration.  I'm not sure
> where to look in /etc/httpd to force it to display XHTML.
> 
> Has anyone encountered a similar problem?
> 
> Thanks,
> 
> Doug

Further investigation shows it's not the Apache configuration.
I changed the doc type from

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "=//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w2.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

to

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>

and it is displayed.

Perhaps the pages were not validated and therefore strict renders nothing, but 
transitional accepts it.
Strange that SuSE would be more forgiving, than Fedora ...

Doug

-------
Registered Linux User #348984 (http://counter.li.org)



_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to