Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Large includes (pictures, css) are truncated or not sent

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Allow only a single file via HTTP  
Author Message
nospam214

External


Since: May 28, 2004
Posts: 1



(Msg. 1) Posted: Sat May 29, 2004 1:27 am
Post subject: Large includes (pictures, css) are truncated or not sent
Archived from groups: alt>apache>configuration (more info?)

I am running windows XP on my laptop and have installed PHP Home Edition
2 which includes Apache2 and PHP and MySQL. I use this setup to develop
my pages.

The situation is that I have been running this for many months and it
worked fine. When I installed a CMS system to try it out it installed
its own apache and PHP over top and destroyed my setup. Now when I
reinstalled the system that worked before it is broken.

The problem is that now the pages that worked before are now broken. The
problem is that many of the images are not being delived, and the
imported CSS file is truncated. As a result things partially work but
not completely.

The system does send smaller image files but not larger ones. Anything
larger than about 4 K is not served, or served truncated. This results
in images not being shown and CSS files only partially working.

The pages and the browsers are fine because if I put the same files on
my linux box they serve up properly. In fact the generated HTML that is
delived is exactly the same between the two envionments.

I have uninstalled and cleaned up and reinstalled many times and the
problem remains. In seaching the archives of this group I have seen
others ask what seems like the same question, but I have not seen any
answers that work in my case.

Does anyone have any sugestions?

--
  --Will<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Large includes (pictures, css) are truncated or not sent 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 2) Posted: Sat May 29, 2004 6:18 pm
Post subject: Re: Large includes (pictures, css) are truncated or not sent [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Will Merrell" <nospam DeleteThis @coaching-life.com> schreef in bericht
news:Xns94F7BBD3D60BCwillcoachinglifecom@199.45.49.11...
 > The problem is that now the pages that worked before are now broken.
 > The problem is that many of the images are not being delivered, and the
 > imported CSS file is truncated. As a result things partially work but
 > not completely.
 >
 > The system does send smaller image files but not larger ones. Anything
 > larger than about 4 K is not served, or served truncated. This results
 > in images not being shown and CSS files only partially working.
 >
 > The pages and the browsers are fine because if I put the same files on
 > my linux box they serve up properly. In fact the generated HTML that is
 > delived is exactly the same between the two envionments.
 >
 > I have uninstalled and cleaned up and reinstalled many times and the
 > problem remains. In seaching the archives of this group I have seen
 > others ask what seems like the same question, but I have not seen any
 > answers that work in my case.
 >
 > Does anyone have any sugestions?
A recent writing in this group noted it is a must to use binary mode file
access for eg images on _Windows_.
Not using binary mode may modify a sequence of CR and LF or assume End of
File at a the first occurance of ^Z, aka \x1A, thusn corrupting or
truncating the file. This may apply to your images if they pass through -as
in fpassthru <a style='text-decoration: underline;' href="http://nl.php.net/fpassthru-" target="_blank">http://nl.php.net/fpassthru-</a> any of your PHPscripts. However,
CSS files being affected too, worries me... in this type of a file a
spurious ^Z is quite unlikely.

The same troubles may arise from transfering files between Windows and
*nux -and backwards- with a FTPclient doing ASCII transfer on binary files
or "translating" end-of-line sequences.


Assuming you are now running Apache 2.0.49, just give 'Win32DisableAcceptEx'
a try. Put it anywhere -I'ld put it at the very top- of httpd.conf
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/mpm_winnt.html#win32disableacceptex" target="_blank">http://httpd.apache.org/docs-2.0/mod/mpm_winnt.html#win32disableacceptex</a>


HansH<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Large includes (pictures, css) are truncated or not sent 
Back to top
Login to vote
user2795

External


Since: May 27, 2004
Posts: 9



(Msg. 3) Posted: Sun May 30, 2004 1:13 pm
Post subject: Re: Large includes (pictures, css) are truncated or not sent [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"HansH" <hans DeleteThis @niet.op.het.net> wrote in message
news:c9a2jb$quk$1@news.cistron.nl...
 >
 > "Will Merrell" <nospam DeleteThis @coaching-life.com> schreef in bericht
 > news:Xns94F7BBD3D60BCwillcoachinglifecom@199.45.49.11...
  > > The problem is that now the pages that worked before are now broken.
  > > The problem is that many of the images are not being delivered, and the
  > > imported CSS file is truncated. As a result things partially work but
  > > not completely.
  > >
  > > The system does send smaller image files but not larger ones. Anything
  > > larger than about 4 K is not served, or served truncated. This results
  > > in images not being shown and CSS files only partially working.
  > >
  > > The pages and the browsers are fine because if I put the same files on
  > > my linux box they serve up properly. In fact the generated HTML that is
  > > delived is exactly the same between the two envionments.
  > >
  > > I have uninstalled and cleaned up and reinstalled many times and the
  > > problem remains. In seaching the archives of this group I have seen
  > > others ask what seems like the same question, but I have not seen any
  > > answers that work in my case.
  > >
  > > Does anyone have any sugestions?
 > A recent writing in this group noted it is a must to use binary mode file
 > access for eg images on _Windows_.
 > Not using binary mode may modify a sequence of CR and LF or assume End of
 > File at a the first occurance of ^Z, aka \x1A, thusn corrupting or
 > truncating the file. This may apply to your images if they pass
through -as
 > in fpassthru <a style='text-decoration: underline;' href="http://nl.php.net/fpassthru-" target="_blank">http://nl.php.net/fpassthru-</a> any of your PHPscripts.
However,
 > CSS files being affected too, worries me... in this type of a file a
 > spurious ^Z is quite unlikely.
 >
 > The same troubles may arise from transfering files between Windows and
 > *nux -and backwards- with a FTPclient doing ASCII transfer on binary files
 > or "translating" end-of-line sequences.
 >
 >
 > Assuming you are now running Apache 2.0.49, just give
'Win32DisableAcceptEx'
 > a try. Put it anywhere -I'ld put it at the very top- of httpd.conf
<font color=purple> > <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/mpm_winnt.html#win32disableacceptex</font" target="_blank">http://httpd.apache.org/docs-2.0/mod/mpm_winnt.html#win32disableaccept...lt;/fon</a>>
 >
 >
 > HansH
 >
 >


Is this the same problem that I and a few others seem to be having with
larger images?
All has been well until days ago when as others seem to say I upgraded
ZoneAlarms.
And yes I've tried turning it off. Strange as if I view the files direct
from the apache dir
they are OK but when viewed through localhost their not.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Large includes (pictures, css) are truncated or not sent 
Back to top
Login to vote
user2348

External


Since: Jun 28, 2003
Posts: 203



(Msg. 4) Posted: Sun May 30, 2004 3:07 pm
Post subject: Re: Large includes (pictures, css) are truncated or not sent [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Grebo" <me.TakeThisOut@me.com> wrote in message
news:Nsiuc.115$W92.73@newsfe6-gui.server.ntli.net...

 > All has been well until days ago when as others seem to say I upgraded
 > ZoneAlarms.

It doesn't have any kind of protection for plain text passwords does it (i.e.
will block your passwords being sent over the net unencrypted). I've seen funny
effects from that where people have used a firewall to protect passwords based
on common words, and it's ended up killing connections that contain the same
word in normal use.

Richard.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Large includes (pictures, css) are truncated or not sent 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 5) Posted: Sun May 30, 2004 4:38 pm
Post subject: Re: Large includes (pictures, css) are truncated or not sent [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Grebo" <me RemoveThis @me.com> schreef in bericht
news:Nsiuc.115$W92.73@newsfe6-gui.server.ntli.net...
 > Is this the same problem that I and a few others seem to be having with
 > larger images?
Apart from some missing binmode in PHP scripts

 > All has been well until days ago when as others seem to
 > say I upgraded ZoneAlarms. And yes I've tried turning it off.
It does give me some itchy feelings ...
.... ZA's update modifying Windows beyond the expectations of Apache.
For now having only a clean install -aka format c:, setup- to the rescue ??

 > Strange as if I view the files direct from the apache dir they are OK but
 > when viewed through localhost their not.
Still localhost -aka 127.0.0.1- is reached over a -very short- network path
.... involving the TCP/IP protocol and thus being checked by ZA

Make your Apache working on any address and tell us the result from viewing
via the IP# of your network card.

Which type of ZA are we talking about anyway: free, plusAV, pro or suite ?

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Large includes (pictures, css) are truncated or not sent 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SSL / Truncated post - Hello, I've a problem with Apache 1.3.27, mod_proxy and mod_ssl (last version). When i use mod_proxy with SSL, POST body are empty or truncated. I read the source code of the module but i don't find any solution. Any idea ? Any experience ? Regards,....

.inc extension truncated - We recently installed Apache 2.0 servers ( used to use 1.3 before ). The directory structure of the content being accessed remains the same. For some reason , include files with extension .inc are trying to be retrived as .in ( the "c" gets tru...

Some pictures not displaying - All has been well with my apache server and I'm just trying to learn PHP. Done a couple of pages and they worked fine both localy and remotely. Then all of a sudden some pictures dont display I thought it was just JPG's but 1 Gif also doesn't display (th...

log filing downloaded pictures. - I want to be able to tell, in my log file, when someone saves a picture off of my website, such as well someone might right click the mouse on an M$ machine and hit "save as"... I want to know which pictures are being saved....thansk.... -- --...

Deny linking pictures from external Websites - Hi NG, I have configured my vhost that its not possible to request Images from external Sites, except the Vhost and the aliasas: -Server version: Apache/1.3.27 (Unix) -Server built: Nov 28 2002 15:06:45 <snip> RewriteEngine on AddType image/gi...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]