Re: [O] [OT] Issue with exported html on webserver

2012-03-26 Thread suvayu ali
Hi Seb, On Mon, Mar 26, 2012 at 14:58, Sebastien Vauban wrote: > Hi, > > "Sebastien Vauban" wrote: >> Nick Dokos wrote: >>> Why on earth would anybody set it up so that "all web pages are interpreted >>> as php pages"? Seems crazy to me, but I'm probably naive. >> >> The problem can be a config w

Re: [O] [OT] Issue with exported html on webserver

2012-03-26 Thread Sebastien Vauban
Hi, "Sebastien Vauban" wrote: > Nick Dokos wrote: >> Why on earth would anybody set it up so that "all web pages are interpreted >> as php pages"? Seems crazy to me, but I'm probably naive. > > The problem can be a config which applies on a too wide range of directories. > > An easy way to circumv

Re: [O] [OT] Issue with exported html on webserver

2012-03-26 Thread Sebastien Vauban
Hi Nick, Nick Dokos wrote: > Why on earth would anybody set it up so that "all web pages are interpreted > as php pages"? Seems crazy to me, but I'm probably naive. The problem can be a config which applies on a too wide range of directories. An easy way to circumvent this is: #+begin_src emacs

Re: [O] [OT] Issue with exported html on webserver

2012-03-26 Thread Christian Moe
Why on earth would anybody set it up so that "all web pages are interpreted as php pages"? Seems crazy to me, but I'm probably naive. Nick Apparently, so they can get by with typing instead of ... ?>. HTML doesn't care, and PHP predates XML, so I imagine it's a legacy of early shortcuts tha

Re: [O] [OT] Issue with exported html on webserver

2012-03-25 Thread Nick Dokos
suvayu ali wrote: > Hi Nick, > > On Sun, Mar 25, 2012 at 23:25, Nick Dokos wrote: > > > > The server seems misconfigured to me: why is PHP entering into the > > picture at all? > > Christian's response resolved the issue. The page he pointed to, says > this happens when the "short_open_tag" se

Re: [O] [OT] Issue with exported html on webserver

2012-03-25 Thread suvayu ali
Hi Nick, On Sun, Mar 25, 2012 at 23:25, Nick Dokos wrote: > > The server seems misconfigured to me: why is PHP entering into the > picture at all? Christian's response resolved the issue. The page he pointed to, says this happens when the "short_open_tag" server configuration is not turned off.

Re: [O] [OT] Issue with exported html on webserver

2012-03-25 Thread suvayu ali
Hi Christian, On Sun, Mar 25, 2012 at 23:21, Christian Moe wrote: > Hi > > See if this explains it: > > http://www.000webhost.com/forum/web-design-html/25365-xhtml-not-recognised-parse-error-syntax-error-unexpected-t_string-line-1-a.html > That resolved it! I will take this up with our IT depart

Re: [O] [OT] Issue with exported html on webserver

2012-03-25 Thread Nick Dokos
suvayu ali wrote: > > > This generates the following error in the Apache logs: > > PHP Parse error: syntax error, unexpected T_STRING in > /user/sali/public_html/bug.html on line 1 > > Removing the line renders the page properly. > > For an example, look in the following directory. > > <

Re: [O] [OT] Issue with exported html on webserver

2012-03-25 Thread Christian Moe
Hi See if this explains it: http://www.000webhost.com/forum/web-design-html/25365-xhtml-not-recognised-parse-error-syntax-error-unexpected-t_string-line-1-a.html Yours, Christian suvayu ali wrote: >Hi, > >I labelled this OT since I am having the problem with only one >web server. Since I am n

[O] [OT] Issue with exported html on webserver

2012-03-25 Thread suvayu ali
Hi, I labelled this OT since I am having the problem with only one web server. Since I am not well versed with html, I was hoping the good people of this list can help. Now to my issue. When I export any org file to html and open it in my browser, everything works well. But when I put it on my in