Lost formatting in browser 'view source'



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
.



Relevant Pages

  • Re: How to stop? 64.62.136.194 Twiceler www.cuill.com
    ... I have changed the .htaccess as Alain suggested ... deny from 64.62.136. ... which made Twiceler block all traffic for a few minutes, baah even ...
    (alt.internet.search-engines)
  • Re: Apache issue
    ... > upgrading to a new version of Apache (I configured only the new httpd.conf ... I'm bypassing all of them (.htaccess and ip list specification). ... Deny as default from all, ...
    (Focus-Linux)
  • Re: How to stop bot postings to guestlog??
    ... .htaccess is not supported/used under Windows IIS. ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... > deny from 212.56. ... >>>> posts for obvious spam that look to be computer generated. ...
    (microsoft.public.frontpage.client)
  • Re: Bookmark4U Remote File Include
    ... The inc directory is filtered with .htaccess (Deny from all). ... vulnerable code though:) ... Remote: Yes ...
    (Bugtraq)
  • Re: blogtorrent remote/local user password disclosure
    ... How about placing a .htaccess with deny from all in the data and torrents directories? ...
    (Bugtraq)