not serving every page (some work, some blank, some weird)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

not serving every page (some work, some blank, some weird)

Postby Tjark » 01. December 2003 15:11

I installed wampp 1.2 on W2K SP4 and got vhosts working. But some pages don't work as expected. I used IIS before so I know the websites are working (right paths etc).

e.g. http://www.dechering.nl The page is served, but the image isn't shown?
When you click on it to go to the next page (my girlfriends) then that page is ok. but when you go on to e.g. 'Thailand' it only shows a white page.

_____________________________________________________
-- solved this one below: index file appeared to be in unicode. No problem for IIS, but Apache screws up ---
Another example: http://www.tjark.com The site doesn't contain anything: just a black page with a simple flash animation. But when you browse to it it shows the html code, prefixed with "ÿþ" ???
I tried dos->unix conversion and vice versa, but that doesn't change it.
_____________________________________________________

To make things even weirder: the phpmyadmin alias works perfectly and phpmyadmin is shown (with images etc) http://www.tjark.com/phpmyadmin (secured by login)

It seems like there is something wrong with the rights or with the mime settings, but I didn't change the from the original installation.

btw: I changed the documentroot from "xampp/htdocs" to "www" in httpd.conf

Does anyone have a clue?
Last edited by Tjark on 02. December 2003 15:19, edited 2 times in total.
Tjark
 
Posts: 13
Joined: 14. November 2003 15:24

Postby Tjark » 02. December 2003 09:44

't seems there's something very weird going on.

when I try to 'wget' a file like 1000k (1mb testfile ) then I get results like:

Code: Select all
C:\>wget http://www.tjark.com/1000k
--09:43:54--  http://www.tjark.com/1000k
           => `1000k.2'
Connecting to www.tjark.com:80... connected!
HTTP request sent, awaiting response...
Read error (No such file or directory) in headers.
Retrying.

--09:43:54--  http://www.tjark.com/1000k
  (try: 2) => `1000k.2'
Connecting to www.tjark.com:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 1,000,000 [text/plain]

    0K .                                                       0% @   1.03 MB/s

09:43:54 (1.03 MB/s) - Read error at byte 1079/1000000 (No such file or director
y). Retrying.

--09:43:54--  http://www.tjark.com/1000k
  (try: 3) => `1000k.2'
Connecting to www.tjark.com:80... connected!
HTTP request sent, awaiting response... 206 Partial Content
Length: 1,000,000 (998,921 to go) [text/plain]

    0K ,.                                                      0% @1000.98 KB/s

09:43:54 (1000.98 KB/s) - Read error at byte 2104/1000000 (No such file or direc
tory). Retrying.

--09:43:54--  http://www.tjark.com/1000k
  (try: 4) => `1000k.2'
Connecting to www.tjark.com:80... connected!
HTTP request sent, awaiting response... 206 Partial Content
Length: 1,000,000 (997,896 to go) [text/plain]

    0K ,,.                                                     0% @1000.98 KB/s

I also get the same thing when getting a picture or other file.

when you try to 'save as' the above link, IE says 'the connection with the http://www.tjark.com/1000k server was reset' :(


Butbutbutbut... when the 1000k file is in the https directory (still the original xampp/htdocs ), the download is ok (try to 'save as' the file): https://www.tjark.com/1000k


Has onyone seen this before?
Last edited by Tjark on 03. December 2003 10:55, edited 2 times in total.
Tjark
 
Posts: 13
Joined: 14. November 2003 15:24

Postby Tjark » 02. December 2003 10:21

btw: when I go to https://www.tjark.com (secure) i'm still directed to the original xampp htdocs dir. There everything seems to work (php tests, perl, mysqladmin etc).

So I believe I'm missing some setting when I changed my document dir from /xampp/htdocs to /www
Tjark
 
Posts: 13
Joined: 14. November 2003 15:24

Postby Tjark » 02. December 2003 23:34

and I continue my quest in finding what's wrong.

Here the access log of dechering.nl
Code: Select all
192.168.0.107 - - [02/Dec/2003:23:37:06 +0100] "GET / HTTP/1.1" 304 -
192.168.0.107 - - [02/Dec/2003:23:37:06 +0100] "GET /titeldechering.gif HTTP/1.1" 206 13969
192.168.0.107 - - [02/Dec/2003:23:37:06 +0100] "GET /transparent.gif HTTP/1.1" 304 -
192.168.0.107 - - [02/Dec/2003:23:37:42 +0100] "GET / HTTP/1.1" 304 -
192.168.0.107 - - [02/Dec/2003:23:37:42 +0100] "GET /titeldechering.gif HTTP/1.1" 206 15638
192.168.0.107 - - [02/Dec/2003:23:37:42 +0100] "GET /transparent.gif HTTP/1.1" 304 -
192.168.0.107 - - [02/Dec/2003:23:37:55 +0100] "GET / HTTP/1.1" 304 -
192.168.0.107 - - [02/Dec/2003:23:37:55 +0100] "GET /titeldechering.gif TTP/1.1" 206 11663
192.168.0.107 - - [02/Dec/2003:23:37:55 +0100] "GET /transparent.gif HTTP/1.1" 304 -


Notice the different size of 'titeldechering.gif' (13969, 15638 and 11663).
Tjark
 
Posts: 13
Joined: 14. November 2003 15:24

Postby Tjark » 03. December 2003 13:04

well, I did a complete reinstall, put 1000k in the standard htdocs dir and the problem is the same

http://www.tjark.com/1000k gives troubles
https://www.tjark.com/1000k works fine

:roll:
Tjark
 
Posts: 13
Joined: 14. November 2003 15:24

Postby Tjark » 04. December 2003 11:22

I also tried minixampp and still the same problem. Tried another port (8080) to listen on: same problem.


but I guess this forum is no good. No reactions, no support... :cry:
Tjark
 
Posts: 13
Joined: 14. November 2003 15:24

Postby Tjark » 04. December 2003 12:45

I'm not giving up!

this happens when I try to wget the 1000k file. Every time wget tries to get another 'chunck' a log entry is made (I set Apache loglevel to debug)

Code: Select all
[Thu Dec 04 12:14:22 2003] [info] (OS 996)Overlapped I/O event is not in a signaled state.  : core_output_filter: writing data to the network
[Thu Dec 04 12:14:23 2003] [info] (OS 996)Overlapped I/O event is not in a signaled state.  : core_output_filter: writing data to the network
[Thu Dec 04 12:14:25 2003] [info] (OS 996)Overlapped I/O event is not in a signaled state.  : core_output_filter: writing data to the network


I also tried to change the MTU size of the network card (to 1452). It seems to have some influence: instead of chunks of around 2500 (first one is 2574 bytes and all following are 2520 bytes), I now receive chunks of 2482 and 2428 bytes.

In a usenet thread, someone is pointing to a driver misimplementation ( http://groups.google.com/groups?hl=nl&lr=&ie=UTF-8&frame=right&th=6ba2877bb67dc9ac&seekm=9v4alj%24j9j%240%40216.39.172.150#link4 ). Especially because there is no problem when I'm accessing the site on the server itself (not from another computer). But it is also pointed out that the original poster didn't have a problem when he was using apache 1.3 before he was trying to get 2.0 to work.

My next guess is to change network cards and see if that works, but I try that when I'm at home again.

grrrrrrr. :evil:
Tjark
 
Posts: 13
Joined: 14. November 2003 15:24

https config

Postby MAGnUm » 04. December 2003 19:45

there is a config file for the default https server that is seperate from the httpd.conf. also if the default page that comes with wampp works correctly then there is something wrong with what you are trying to serve. if you want everything to work you should use plain text files only w/ no odd formatting. good luck.
~~:M A G n U m:~~
(Disclaimer: if any of this info is confusing or vague tough, its free!!)
User avatar
MAGnUm
 
Posts: 151
Joined: 16. October 2003 18:08
Location: USA

Postby Tjark » 30. December 2003 14:50

well thanks for the tip, but that wasn't the problem.


I've solved it now. Well actually, I didn't solve it, I just reinstalled W2K again from scratch and now xampp worked right out of the box (with the same settings I had before).

So it looks like windows f*cked up someting, or it was a driver issue.
Anyway, if you experience the same awkward behaviour as I had, reinstall the os.
sad but true (but hey: it works now! :) )
Tjark
 
Posts: 13
Joined: 14. November 2003 15:24

Postby Tjark » 21. January 2004 12:23

time for an update :lol:

the server acted strange again. But this time if found out why. The night before I installed NOD32 antivirus....
Server showed the same strange things as before.
Shut down the antivirus: problem still the same.
De-installed the antivirus: problem was gone.

Should have thought of it earlier :oops:

A sollution is given in the FAQ of NOD32:

Question:
My Apache server does not work properly after installing NOD32 v2. Some pages do not load at all, some have missing pictures. What to do?


Answer:
Apache web server uses sockets in a non-standard way and this results into conflicts with NOD32's IMON component. To resolve this issue, you need to recompile Apache's libapr.dll library with WAIT_FOR_EVENT preprocessor definition defined.
Tjark
 
Posts: 13
Joined: 14. November 2003 15:24

NOD32 v2?

Postby mkormendy » 30. January 2004 16:14

I'm curious about NOD32 v2, in your opinion why are you using it?
Please don't send me a link to their site, I've checked it out, but I would like a personal opinion, as it's quite intriging.
Thank you.
User avatar
mkormendy
 
Posts: 12
Joined: 29. January 2004 05:49

Postby yankee » 18. May 2007 17:11

I'm suffering a very similar problem that seems to relate to the same problem.

Did you recompile the DLL? Can you send it to me?

EDIT:

Forget about it... Easy solution:
http://www.wilderssecurity.com/showthread.php?t=64291
2) go to IMON - Configuration - Other (last tab) - Exceptions and add apache's exe, restart computer...

Actually it's enough to restart Apache...
I did not test it, but perhaps even that is not necessary.
yankee
 
Posts: 2
Joined: 06. March 2007 22:05


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 130 guests