Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-31 00:54, Rob Stone wrote: Sorry I have created such a discussion around my use of the word "include". In future I'll try to be semantically correct. By "include" I mean lines of code like this that are embedded into the source html. And that's exactly the point - it's not "

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Rob Stone
On 31/07/11 08:11, LabTech wrote: Maybe I'm ancient... but I create ALL my HTML via ECHO in PHP... then all the includes WORK! I set the entire HTML PAGE within brackets. ECHO works! (as does INCLUDE) - Original Message - From: "Jeroen Geilman" To: Sent: Saturday, July 30, 2011 4:39 PM

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread LabTech
Maybe I'm ancient... but I create ALL my HTML via ECHO in PHP... then all the includes WORK! I set the entire HTML PAGE within brackets. ECHO works! (as does INCLUDE) - Original Message - From: "Jeroen Geilman" To: Sent: Saturday, July 30, 2011 4:39 PM Subject: Re: [users@httpd] PHP

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 23:33, Stormy wrote: At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: >>> So, why does a simple file with phpinfo() work and an html page with an >>> include "xyz.php" NOT render the page as desired in the browser >>> It just >>> ign

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Darryle Steplight
I can't figure out why these conversations keep going on. I thought the answer was solved with Jeroen Geilman's answer. My answer was slightly off. On Sat, Jul 30, 2011 at 5:33 PM, Stormy wrote: > At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: >> >> On 30/07/2011 18:43, Jeroen Geilman wrote: >>

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Stormy
At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: >>> So, why does a simple file with phpinfo() work and an html page with an >>> include "xyz.php" NOT render the page as desired in the browser >>> It just >>> ignores the include. > > HTML does not ha

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 23:21, Mark Rousell wrote: On 30/07/2011 19:54, Jeroen Geilman wrote: On 2011-07-30 20:06, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: So, why does a simple file with phpinfo() work and an html page with an include "xyz.php" NOT render the page as desired in th

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Mark Rousell
On 30/07/2011 19:54, Jeroen Geilman wrote: > On 2011-07-30 20:06, Mark Rousell wrote: >> On 30/07/2011 18:43, Jeroen Geilman wrote: > So, why does a simple file with phpinfo() work and an html page > with an > include "xyz.php" NOT render the page as desired in the browser > It

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 20:06, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: So, why does a simple file with phpinfo() work and an html page with an include "xyz.php" NOT render the page as desired in the browser It just ignores the include. HTML does not have an "include" directive.

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Mark Rousell
On 30/07/2011 18:43, Jeroen Geilman wrote: >>> So, why does a simple file with phpinfo() work and an html page with an >>> include "xyz.php" NOT render the page as desired in the browser >>> It just >>> ignores the include. > > HTML does not have an "include" directive. > Please don't confuse

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 06:41, Darryle Steplight wrote: Trying adding this in your vhost, config file or .htaccess file addHandler x-httpd-php5 .php .htm .html Please get it right: SetHandler application/x-httpd-php On Sat, Jul 30, 2011 at 12:20 AM, Rob Stone wrote: Hello, I have a wor

Re: [users@httpd] https redirection

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 11:08, fedora wrote: I usually do redirections this way: in the web http://abc.com I insert into the tag somewhere in the javascripts for this page I have function redix() { if (window.location.search != "")) window.location.replace("http://"+window.location.search) }

Re: [users@httpd] https redirection

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 08:28, vishesh kumar wrote: Hi Members suppose i have a site https://abc.com and i want if anyone write https://abc.com/xyz.com , it should redirected to https://xyz.com which is one same server. Redirect Permanent /xyz.com/ https://xyz.com/ Server wide certificate installed o

Re: [users@httpd] https redirection

2011-07-30 Thread fedora
I usually do redirections this way: in the web http://abc.com I insert into the tag somewhere in the javascripts for this page I have function redix() { if (window.location.search != "")) window.location.replace("http://"+window.location.search) } // redix suomi On 2011-07-30 08: