Re: [Bulk] Re: [Bulk] [wdvltalk] Browser woe -- so what's new?

2008-09-19 Thread joseph harris

From: "David Precious"


On 09/19/2008 12:35 PM, joseph harris wrote:

This may be a stupid question and I don't mean to offend or
belittle you, but you are accessing it via a webserver on
your box
(i.e. the address bar starts with http://) and not just
loading the
file directly (with the address bar showing file://), right?



Right. And it is a good question David - but I haven't
regressed
that far ;-). Access is through the localhost server  thus
http://127.0.0.1/control_your_debt/. The software is Apache
via
the EasyPHP 2.0b1 bundle on dear old XpSP2. CSS is picked up
but
on html, shtml files there is no SSI processing - no error
messages, no blank screen.


Right - it sounds like Apache isn't configured to handle SSI
includes.

Assuming that you're using Apache 2 and the filenames you're
using for
HTML pages which include SSI calls use the extension .shtml,
you'll need
the following in Apache's httpd file:


   AddType text/html .shtml
   AddOutputFilter INCLUDES .shtml

And, a suitable Options line including "Includes" (or
IncludesNoExec) -
in a  block etc.


Have a look at your Apache config file; it's likely that the
appropriate
options are there already, but just commented out.



I don't know if the clue is in Firefoxe's refusal to parse
shtml,


There's no such thing as "shtml", and Firefox (or any other
browser)
doesn't know what SSI is; as far as the browser is concerned,
SSI calls
are just standard HTML comments to be ignored.



yet deigning to print the source in the main window.


This, to me, sounds like the webserver is serving .shtml files
with
Content-Type of text/plain rather than text/html.

Do you have anything like Tamper Data / Live HTTP Headers
Firefox
extensions installed which would let you see the Content-Type
header
that your server is sending?

If not, you could do it the manual way - use telnet to connect
to
localhost on port 80, then say:

HEAD /control_your_debt/ HTTP/1.0

Followed by two newlines.

Then look for a Content-Type header in the response.



So far as i

know - and this is not recollection, but the file that worked
for
this previous website - this is correct calling
 and



The first is mostly correct, although there should be a space
before the
"-->" at the end.  The second is just a HTML comment.

You want:





.htaccess reads
AddType text/.html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes


Ah - this is what I was talking about above.  It looks mostly
right, but
if it's Apache2, you'll want the "AddOutputFilter INCLUDES
.shtml" as I
described above, rather than the "AddHandler server-parsed...".

Also, you might find that having those directives in a
.htaccess file
won't work; only certain directives are allowed in .htaccess
files, and
the directives that are allowed can be changed by settings in
the main
config file.

Cheers

Dave P



Hmmm.  Now you have me tinkering where I know not...   ;-)

OK so I've added Includes here [line 204 on mt httpd.conf in the
Appache config folder]
# The Options directive is both complicated and important.
Please see
   # http://httpd.apache.org/docs/2.2/mod/core.html#options
   # for more information.
   #
   Options Indexes FollowSymLinks Includes

And uncommented and added .php here [line 461/2]
# Filters allow you to process content before it is sent to the
client.
   #
   # To parse .shtml files for server-side includes (SSI):
   # (You will also need to add "Includes" to the "Options"
directive.)
   #
AddType text/html .shtml .php
AddOutputFilter INCLUDES .shtml .php


Restarted the server

Ha! No change on my script and wordpress index.php won't even 
appear - blank page. IE and Firefox


Restarted the machine, checkedthe file has been saved with 
changes. Still no action as above. Getting mysterious - or 
showing some inadequacy by localhost operator...


The logic of the chain of action is clear, and with your 
instructions I can see how it should order the parsing.


If I can't sort this by the end of tomorrow I will abandon it. 
Finding out the problem is just taking time. But if you have any 
more ideas I'll try them with gratitude for your help.


Joseph


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [Bulk] Re: [Bulk] [wdvltalk] Browser woe -- so what's new?

2008-09-19 Thread David Precious
On 09/19/2008 12:35 PM, joseph harris wrote:
>> This may be a stupid question and I don't mean to offend or 
>> belittle you, but you are accessing it via a webserver on your box
>> (i.e. the address bar starts with http://) and not just loading the
>> file directly (with the address bar showing file://), right?

> Right. And it is a good question David - but I haven't regressed 
> that far ;-). Access is through the localhost server  thus 
> http://127.0.0.1/control_your_debt/. The software is Apache via 
> the EasyPHP 2.0b1 bundle on dear old XpSP2. CSS is picked up but 
> on html, shtml files there is no SSI processing - no error 
> messages, no blank screen.

Right - it sounds like Apache isn't configured to handle SSI includes.

Assuming that you're using Apache 2 and the filenames you're using for
HTML pages which include SSI calls use the extension .shtml, you'll need
the following in Apache's httpd file:


AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

And, a suitable Options line including "Includes" (or IncludesNoExec) -
in a  block etc.


Have a look at your Apache config file; it's likely that the appropriate
options are there already, but just commented out.


> I don't know if the clue is in Firefoxe's refusal to parse shtml, 

There's no such thing as "shtml", and Firefox (or any other browser)
doesn't know what SSI is; as far as the browser is concerned, SSI calls
are just standard HTML comments to be ignored.


> yet deigning to print the source in the main window. 

This, to me, sounds like the webserver is serving .shtml files with
Content-Type of text/plain rather than text/html.

Do you have anything like Tamper Data / Live HTTP Headers Firefox
extensions installed which would let you see the Content-Type header
that your server is sending?

If not, you could do it the manual way - use telnet to connect to
localhost on port 80, then say:

HEAD /control_your_debt/ HTTP/1.0

Followed by two newlines.

Then look for a Content-Type header in the response.



So far as i
> know - and this is not recollection, but the file that worked for 
> this previous website - this is correct calling
>  and
> 

The first is mostly correct, although there should be a space before the
"-->" at the end.  The second is just a HTML comment.

You want:




> .htaccess reads
> AddType text/.html .shtml
> AddHandler server-parsed .shtml
> Options Indexes FollowSymLinks Includes

Ah - this is what I was talking about above.  It looks mostly right, but
if it's Apache2, you'll want the "AddOutputFilter INCLUDES .shtml" as I
described above, rather than the "AddHandler server-parsed...".

Also, you might find that having those directives in a .htaccess file
won't work; only certain directives are allowed in .htaccess files, and
the directives that are allowed can be changed by settings in the main
config file.

Cheers

Dave P



 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [Bulk] Re: [Bulk] [wdvltalk] Browser woe -- so what's new?

2008-09-19 Thread joseph harris

From: "David Precious"

On 09/19/2008 10:51 AM, joseph harris wrote:

Riva,

I've just been banging my head against the wall. The problem 
is

no mystery [except to me at this moment!]. Neither browser is
picking up any SSI. It looks as though the css is working.


SSI is server-side (hence the name) so the browser has nothing 
to do

with it.


I can see I'll have to test on a host - it's just so much 
easier

to do locally!


This may be a stupid question and I don't mean to offend or 
belittle
you, but you are accessing it via a webserver on your box (i.e. 
the
address bar starts with http://) and not just loading the file 
directly

(with the address bar showing file://), right?



Right. And it is a good question David - but I haven't regressed 
that far ;-). Access is through the localhost server  thus 
http://127.0.0.1/control_your_debt/. The software is Apache via 
the EasyPHP 2.0b1 bundle on dear old XpSP2. CSS is picked up but 
on html, shtml files there is no SSI processing - no error 
messages, no blank screen.


I don't know if the clue is in Firefoxe's refusal to parse shtml, 
yet deigning to print the source in the main window. So far as i 
know - and this is not recollection, but the file that worked for 
this previous website - this is correct calling

 and
  . These two [and 
others] are certainly text files in the same folder.


.htaccess reads
AddType text/.html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

More ideas welcomed [tied a cushion to my head but still banging 
the wall].


Joseph



 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [Bulk] Re: [Bulk] [wdvltalk] Browser woe -- so what's new?

2008-09-19 Thread David Precious
On 09/19/2008 10:51 AM, joseph harris wrote:
> Riva,
> 
> I've just been banging my head against the wall. The problem is 
> no mystery [except to me at this moment!]. Neither browser is 
> picking up any SSI. It looks as though the css is working.

SSI is server-side (hence the name) so the browser has nothing to do
with it.


> I can see I'll have to test on a host - it's just so much easier 
> to do locally!

This may be a stupid question and I don't mean to offend or belittle
you, but you are accessing it via a webserver on your box (i.e. the
address bar starts with http://) and not just loading the file directly
(with the address bar showing file://), right?


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [Bulk] Re: [Bulk] [wdvltalk] Browser woe -- so what's new?

2008-09-19 Thread joseph harris

Riva,

I've just been banging my head against the wall. The problem is 
no mystery [except to me at this moment!]. Neither browser is 
picking up any SSI. It looks as though the css is working.


Since localhost is supposed to mimic grown up servers I am 
assuming that Appache, php and MySQL are in fine fettle. But it 
looks as though it is not picking up SSI on the Wordpress script 
either, and that is a polished one.


This is starting to look like a EasyPHP issue and I'm wondering 
if the fault is with the updated version - or just as usual my 
own incompetence...


I can see I'll have to test on a host - it's just so much easier 
to do locally!


Joseph


From: "Portman"
Hmm. I don't know. Can you send the whole page so I can try it 
out on my computer? Also, I notice that you have one  
tag - could that possibly do something?


Riva

On 9/18/2008 5:59 PM, joseph harris wrote:

Hi Riva,

It's pretty much what I show below, with a bit more content - 
all text and a few  variants - which is pretty minimal. I 
am between websites at the moment, though I am planning one as 
quickly as I can make it.  Which is why I'm quite alarmed by 
this problem which just shouldn't be there. Is it possible 
that it is because it's localhost?


Joseph


From: "Portman" ?



Do you have it up online where we can look at it in action?

Riva

On 9/16/2008 7:52 AM, joseph harris wrote:


First Hi Zack! I'm a beginner since I joined which was a 
while back ;-)...


And Hi Franni in particular; nice to see you posting.

Can someone remind me why this .html file is OK in IE (as 
ever) but chokes Firefox (as ever) - simply printing the 
code? MS Xp SP2 on desktop using Apache/php/MySQL through 
EasyPHP.


TIA

Joseph Harris

Transitional//EN" 
"http://www.w3.org/TR/REC-html40/loose.dtd";>



 Control Your Debt Crisis on your Own Terms : Making 
Creditors and Debt Collectors Obey the Law 



 



CONTENT="text/css">
MEDIA="all">


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: 
mailto:[EMAIL PROTECTED] or
use the web interface 
http://e-newsletters.internet.com/discussionlists.html/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: 
[EMAIL PROTECTED]
To unsubscribe send a blank email to 
[EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted 
with.





 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [Bulk] Re: [Bulk] [wdvltalk] Browser woe -- so what's new?

2008-09-18 Thread Portman
Hmm. I don't know. Can you send the whole page so I can try it out on my 
computer? Also, I notice that you have one  tag - could that 
possibly do something?


Riva

On 9/18/2008 5:59 PM, joseph harris wrote:

Hi Riva,

It's pretty much what I show below, with a bit more content - all text 
and a few  variants - which is pretty minimal. I am between 
websites at the moment, though I am planning one as quickly as I can 
make it.  Which is why I'm quite alarmed by this problem which just 
shouldn't be there. Is it possible that it is because it's localhost?


Joseph


From: "Portman" ?



Do you have it up online where we can look at it in action?

Riva

On 9/16/2008 7:52 AM, joseph harris wrote:


First Hi Zack! I'm a beginner since I joined which was a while back 
;-)...


And Hi Franni in particular; nice to see you posting.

Can someone remind me why this .html file is OK in IE (as ever) but 
chokes Firefox (as ever) - simply printing the code? MS Xp SP2 on 
desktop using Apache/php/MySQL through EasyPHP.


TIA

Joseph Harris

"http://www.w3.org/TR/REC-html40/loose.dtd";>



 Control Your Debt Crisis on your Own Terms : Making 
Creditors and Debt Collectors Obey the Law 



 



 


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.