Author |
|
Bruce
Joined: 28 Nov 2006 Posts: 77 Location: Mars
|
Posted: Mon 19 Mar '07 16:26 Post subject: xml on apache2 2.2.4 |
|
|
how do I make vs studeo 2005<?xml version="1.0" encoding="utf-8" ?>work on apache2 2.2.4 |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 19 Mar '07 16:34 Post subject: |
|
|
XML works on Apache! What should be done with your XML? Only displaying? |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Mon 19 Mar '07 17:47 Post subject: |
|
|
is it and XML file or a php/coldfusion/... file with XML content?
If its the later set the correct encoding in the header aswel! |
|
Back to top |
|
Bruce
Joined: 28 Nov 2006 Posts: 77 Location: Mars
|
Posted: Mon 19 Mar '07 23:04 Post subject: |
|
|
Jorge wrote: | is it and XML file or a php/coldfusion/... file with XML content?
If its the later set the correct encoding in the header aswel! |
its window V studio expess 2005 site map I am working on but nun of windows studio xml seem to work it just display the text and not the page
witch encoding is right one |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Tue 20 Mar '07 16:25 Post subject: |
|
|
was there and xml style included? usually there is. |
|
Back to top |
|
Bruce
Joined: 28 Nov 2006 Posts: 77 Location: Mars
|
Posted: Tue 20 Mar '07 20:53 Post subject: |
|
|
Jorge wrote: | was there and xml style included? usually there is. |
<?xml version="1.0" encoding="utf-8" ?> this is all that the was on the xml |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Wed 21 Mar '07 8:38 Post subject: |
|
|
hmmz ok I could have sworm I had a 2nd file aswel when I use VS.net to do an xml report. *scratches head*
No idea then why it isn't working. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 21 Mar '07 10:17 Post subject: |
|
|
One last thing I can think of that may kills the output is the enabled short tags in php.ini. But I test it out on my server and it worked.
Did you changed something in the httpd.conf or mime.types or magic ?
Code: |
<?xml version="1.0" encoding="utf-8" ?>
<channel>
<docs>http://www.apachelounge.com/</docs>
<description>Something not working</description>
<link>http://www.apachelounge.com/</link>
<title>apachelounge.com/ - the forum</title>
<ttl>60</ttl>
<item>
<title>Something </title>
<link>http://www.apachelounge.com/viewtopic.php?t=1491</link>
<description><![CDATA[<p>Some boring text</p> ]]></description>
<guid>http://www.apachelounge.com/viewtopic.php?t=1491</guid>
<author>JB</author>
</item>
</channel>
|
|
|
Back to top |
|
Bruce
Joined: 28 Nov 2006 Posts: 77 Location: Mars
|
Posted: Wed 21 Mar '07 10:33 Post subject: |
|
|
no did not only added php5.2 with all instruction,s from Steffen,s setup apache forum 2.2.3 I think It mite just be the window,s vc express studio and not the apache witch I have upgraded to2.2.4 just a few days |
|
Back to top |
|