Re: Outputing XML to browser???
| From: | Jim Hankins | Date: | Sat, 16 Feb 2002 19:45:37 +0000 |
| Subject: | Re: Outputing XML to browser??? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85054@lists.php.net to get a copy of this message | ||
OK so it's not working. I was having cache issues, so it now displays as
text instead of xml but does process the <?php ?> commands. I'm close, any
ideas what I need to do? Do I need to now place some kind of header in all
my xml files or is there some type of apache config that needs changing?
Now all xml displays as text even if I don't use php commands. I assume
because of the ext is getting process before the mime type text/xml line or
something?
"Jim Hankins" <jhankins@hankinsbay.com> wrote in message
news:20020216190343.3939.qmail@pb1.pair.com...
> Christian, never mind, my fault. It's working beauthifully now. Thanks so
> much for the help! Save my weekend!
> Jim
>
> "Jim Hankins" <jhankins@hankinsbay.com> wrote in message
> news:20020216184222.91924.qmail@pb1.pair.com...
> > Christian, when I changed the AddType to include .htm .html .xml and
> .xhtml
> > now even if I don't have any php content in the file, it displays as
plain
> > text instead of xml, the files have an xml ext. Any ideas?
> >
> >
> > "Christian Blichmann" <asksatan42@hotmail.com> wrote in message
> > news:20020216151303.19190.qmail@pb1.pair.com...
> > > Whoops, sent you a wrong .htaccess - file, here's
> > > what I really use (the other one was old):
> > > AddType application/x-httpd-php .php .php4 .htm .html .xml .xhtml
> > > DirectoryIndex index.xml index.xhtml
> > > IndexIgnore .htaccess .htpasswd
> > >
> > > --
> > > Christian Blichmann
> > >
> > > _____________________________________________
> > > don't hesitate - email me with your thoughts:
> > > e-mail: feedback.nospam@blichmann.de
> > > - please remove the ".nospam" from address.
> > > _____________________________________________
> > > do you want to know more?
> > > web: http://www.blichmann.de
> > >
> > >
> >
> >
>
>