Re: Lost formatting in browser 'view source'
- From: dorayme <doraymeRidThis@xxxxxxxxxxxxxxx>
- Date: Tue, 21 Nov 2006 07:06:14 +1100
In article <4sd1ofFuj88vU2@xxxxxxxxxxxxxxxxxx>,
"J.O. Aho" <user@xxxxxxxxxxx> wrote:
dorayme wrote:
In article <op.ti9416r5brft5s@xxxxxxxxxxxxxxxx>,
"J.O. Aho" <user@xxxxxxxxxxx> wrote:
On Sun, 19 Nov 2006 20:48:43 +0100, dorayme
<doraymeRidThis@xxxxxxxxxxxxxxx> wrote:
Was configuring a site of mine to understand an include in theThis works, but you get the down side that all html files will be checked
html <? include "footer.inc"; ?>
In order to get it working I thought I had to add an .htaccess
file to the Unix remote server (as I have done elsewhere
successfully) with the text:
AddType application/x-httpd-php .html
php_value include_path /home/domainName/public_html/includes
for php code, which increases the load on the server, far better to rename
the page to something ending with .php
You mean to rename all the pages, they all have footers?
Yes.
Some sites I maintain have a lot of pages and changing the names
of all the files is the last thing I would do, not the first ;-)
No, what I want is everything. I want the source view to look
sort of formatted to the extent of not being in one unbroken
unreadable line, I want to include footers and nav and repeatable
elements, I want nothing to be unduly slowed down, I want all
this to be easier than winning the lottery.
Guess I will do some trial and error messing about to see how to
eliminate the little problem I am experiencing. I guess it is an
odd one? Is there anything anyone wants to know from me that
might help them pinpoint the trouble?
--
dorayme
.
- Follow-Ups:
- Re: Lost formatting in browser 'view source'
- From: J.O. Aho
- Re: Lost formatting in browser 'view source'
- References:
- Lost formatting in browser 'view source'
- From: dorayme
- Re: Lost formatting in browser 'view source'
- From: J.O. Aho
- Re: Lost formatting in browser 'view source'
- From: dorayme
- Re: Lost formatting in browser 'view source'
- From: J.O. Aho
- Lost formatting in browser 'view source'
- Prev by Date: error handling problem
- Next by Date: Re: UNIX/MacOS/Textwrangler issue?
- Previous by thread: Re: Lost formatting in browser 'view source'
- Next by thread: Re: Lost formatting in browser 'view source'
- Index(es):
Relevant Pages
|