Reply to Lost formatting in browser 'view source'

Your name:

Reply:


Posted by dorayme on 11/19/06 19:48

Was configuring a site of mine to understand an include in the
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

But there was already an .htaccess file on the server. So what to
do? I added my spiel above to the end of it and loaded it back
up. And yes, the footers all started working.

Fine... in a way... but something has happened to the source
view, it no longer appears formatted in the sense of line breaks,
it is all strung together as on one line.

Wondering if there is anything anyone can see in the addition
I did to the .htaccess  that could cause this?

Before, the .htaccess said (and this was just there, I did not
put it there):

..

# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.domainName.com.au
AuthUserFile /home/domainName/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/domainName/public_html/_vti_pvt/service.grp

..

and I added (after a couple of line breaks, is this latter
significant?):

..


AddType application/x-httpd-php .html
php_value include_path /home/domainName/public_html/includes
[I have seen odd things like no formatting when looking at source
view on Windows machines. But never on Mac before on my sites)


--
dorayme

--
dorayme

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация