You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Alex H." <od...@utj.org> on 2004/06/04 13:23:57 UTC

Re: [users@httpd] Apache2 on WinXP, serving mangled,corrupted pages and images

> I'm having a problem with Apache2 on WinXP Pro. Many, but not
> all, of the pages and images are being mangled somehow between
> the source htdocs/ folder and the browser 

I am having the same problem and with exactly the same 
conditions you outlined in your original posting. I've tried the 
suggestion of using combinations of the directives 
"EnableSendfile Off" and
"Win32DisableAcceptEx" with no joy. 

Any other suggestions would be appreciated. 

I've run this Apache Server for a very long time without a 
problem and suddenly this happens. It makes no sense to me. I 
tried a clean install with the latest version of Apache but with 
no change.

Alex


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache2 on WinXP, serving mangled,corrupted pages and images

Posted by "Alex H." <od...@utj.org>.
> > "EnableSendfile Off" and
> > "Win32DisableAcceptEx" with no joy.
> >
> > Any other suggestions would be appreciated.
> 
> This may be the "XP bug", which was mentioned on Apache's 
Win32 download
> page, but I cannot find it explicitly anymore. Related stuff 
is here:
> http://www.apache.org/dist/httpd/binaries/win32/README.html

I went to the suggested site and disabled QoS packet scheduler 
support in the Microsoft network connections as it suggested. 
This made no difference, but when I tried the two directives 
above again, along with the QoS removal it fixed the problem. 

Thanks. Your suggestion helped.

Alex


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache2 on WinXP, serving mangled,corrupted pages and images

Posted by Robert Andersson <ro...@profundis.nu>.
Alex H wrote:
> > I'm having a problem with Apache2 on WinXP Pro. Many, but not
> > all, of the pages and images are being mangled somehow between
> > the source htdocs/ folder and the browser
>
> I am having the same problem and with exactly the same
> conditions you outlined in your original posting. I've tried the
> suggestion of using combinations of the directives
> "EnableSendfile Off" and
> "Win32DisableAcceptEx" with no joy.
>
> Any other suggestions would be appreciated.

This may be the "XP bug", which was mentioned on Apache's Win32 download
page, but I cannot find it explicitly anymore. Related stuff is here:
http://www.apache.org/dist/httpd/binaries/win32/README.html
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q317949

I had this problem (socket sharing issue) before SP1 was around, which could
be fix by applying the hotfix then released. SP1 is supposed to fix the
problem, but I've heard people on this list for which the service pack did
not work, but the hotfix did.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache2 on WinXP, serving mangled,corrupted pages and images

Posted by "Alex H." <od...@utj.org>.
> Could the problem be hardware?  Most memory is the non-ECC
> variety these days and memory errors may cause your symptoms.
> If it is summer where you are and the room temperature has
> increased, you may have a heat related problem. 
> 
> Roger

The problem is too consistent and predictable to be a memory 
error problem due to heat. It matched the previous poster's 
problem EXACTLY. The page ALWAYS is corrupted in the same place. 
Even after reboot it fails the same way in the same place. When 
I edit the web page and reload it, the page is corrupted in a 
different place depending on how many characters I added or 
deleted from the page, but it is consistent and predictable just 
as the previous poster had mentioned.

At first I thought it was my browser but it fails using both IE 
and Netscape browsers. 

Alex


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Upgrading from 1.3x to 2.x

Posted by Joshua Slive <jo...@slive.ca>.
On Sun, 6 Jun 2004, Bob Cohen wrote:

> Thank you Joshua and Jim.  One last question.  Will I have to recompile
> my PHP & MySQL?

PHP, certainly.  As I mentioned, all modules need to be upgraded to be
used in 2.0.  The module API has changed.

You are probably using MySQL via PHP, and not directly through apache, so
whether you need to recompile that depends on the process you need to
recompile PHP.  (In other words, I don't know.)

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Upgrading from 1.3x to 2.x

Posted by Patrick Boutilier <bo...@ednet.ns.ca>.

Bob Cohen wrote:
> Thank you Joshua and Jim.  One last question.  Will I have to recompile
> my PHP & MySQL?

You will have to compile PHP as a DSO module for Apache 2. You can't 
build PHP directly into Apache 2 like you could with Apache 1.

> 
> Bob
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Upgrading from 1.3x to 2.x

Posted by Bob Cohen <bc...@bpecreative.com>.
Will the questions ever end???  Before running the compile, I need to
make sure that all the necessary modules for my installation are
accounted for.  I did a httpd -l and discovered the following modules
compiled in my 1.3.x version:

  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_setenvif.c
  mod_php4.c

My recollection is that some of are there by default.  I remember
explicitly adding the php4 module but it's been a while.  Also, I want
to add https and DSO support so that means including the mod_ssl and
mod_so, right?  Are there other modules worthwhile to add that I haven't
thought about?

Will this configure statement get me the module set specified above
along with rewrite and spelling?

./configure --prefix=/usr/local/apache2 \
> --enable-rewrite=shared \
> --enable-spelling=shared \
> --enable-mod_php4
> --enable-mod_ssl

Thank you?

--Bob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Upgrading from 1.3x to 2.x

Posted by Bob Cohen <bc...@bpecreative.com>.
Thank you Joshua and Jim.  One last question.  Will I have to recompile
my PHP & MySQL?

Bob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Upgrading from 1.3x to 2.x

Posted by Joshua Slive <jo...@slive.ca>.


On Sat, 5 Jun 2004, Bob Cohen wrote:

> I've looked at the documentation on the apache web site.  But there
> doesn't seem to be a cook-book-style how-to document, and being a
> novice, sys admin, I require such documents.  Will I have to reconfigure
> EVERYTHING as if setting up an installation from scratch?  Or is there
> something available that will look at my current 1.3x set up and take
> the steps necessary to insure a smooth transition?

You can try here:
http://www.covalent.net/resource/Wc431569fea136.htm
(I've never tried these Covalent docs/tools myself, but they say that they
help with this.)

In general, I can suggest a couple things:
- It is probably easiest to start with the new default config file from
apache 2, and then make the adjustments you need to get back to the
configuration you were using in 1.3.  The config format is almost exactly
the same, but there are enough tiny changes to mean it is probably easier
starting from scratch and copying over.  You've probably already seen this
doc:
http://httpd.apache.org/docs-2.0/upgrading.html
which lists most, but not all, config changes.
- The trickiest thing in the upgrade is making sure you have all the
modules you need.  All modules need to be upgraded when you make the
switch.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Upgrading from 1.3x to 2.x

Posted by Bob Cohen <bc...@bpecreative.com>.
I've looked at the documentation on the apache web site.  But there
doesn't seem to be a cook-book-style how-to document, and being a
novice, sys admin, I require such documents.  Will I have to reconfigure
EVERYTHING as if setting up an installation from scratch?  Or is there
something available that will look at my current 1.3x set up and take
the steps necessary to insure a smooth transition?  In the alternative,
is it possible to run both 1.3x and 2.x simultaneously so that I can
make sure that everything is working before going live?

--Bob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache2 on WinXP, serving mangled,corrupted pages and images

Posted by Roger <cr...@cox.net>.
Alex H. wrote:

>>I'm having a problem with Apache2 on WinXP Pro. Many, but not
>>all, of the pages and images are being mangled somehow between
>>the source htdocs/ folder and the browser 
>>    
>>
>
>I am having the same problem and with exactly the same 
>conditions you outlined in your original posting. I've tried the 
>suggestion of using combinations of the directives 
>"EnableSendfile Off" and
>"Win32DisableAcceptEx" with no joy. 
>
>Any other suggestions would be appreciated. 
>
>I've run this Apache Server for a very long time without a 
>problem and suddenly this happens. It makes no sense to me. I 
>tried a clean install with the latest version of Apache but with 
>no change.
>
>Alex
>
>  
>
Could the problem be hardware?  Most memory is the non-ECC variety these 
days and
memory errors may cause your symptoms. If it is summer where you are and 
the room
temperature has increased, you may have a heat related problem.

Roger


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org