Toon posts:

Loop in de root hoe pak je dit aan

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hallo allemaal
Tot nu toe deed me site het altijd goed, nooit problemen met de hosting gehad, altijd prima bereikbaarheid en de site werkte gewoon optimaal. Vannacht na 12en deed die opeens vaag, als je de site open http://www.yourprofile.nl doet de site gek hij refresht de hele tijd. Me hosting heeft gisterennacht de server gereset dat mocht niet baten en nog een paar trucs ook niet.

Volgens hem zit er een loop in de root waardoor yourprofile het niet doet. Weet iemand hoe we dit kunnen oplossen of hoe we dit kunnen aanpakken.

Alvast bedankt

Verwijderd

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
--13:58:49--  http://www.yourprofile.nl/
           => `index.html'
Resolving www.yourprofile.nl... 193.19.227.128
Connecting to www.yourprofile.nl[193.19.227.128]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.yourprofile.nl/leden/lid.php?lid=php [following]
--13:58:53--  http://www.yourprofile.nl/leden/lid.php?lid=php
           => `lid.php?lid=php'
Connecting to www.yourprofile.nl[193.19.227.128]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.yourprofile.nl/leden/lid.php?lid=php [following]
--13:58:54--  http://www.yourprofile.nl/leden/lid.php?lid=php
           => `lid.php?lid=php'

Etc, etc, lid.php?lid=php verwijst dus door naar lid.php?lid=php.
Verander die file?

  • 0xDEADBEEF
  • Registratie: December 2003
  • Niet online
Ethereal says:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
GET http://www.yourprofile.nl/ HTTP/1.1

Host: www.yourprofile.nl

[snip useragent]

HTTP/1.0 302 Moved Temporarily

Date: Sat, 02 Oct 2004 11:58:52 GMT

Server: Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.8 FrontPage/5.0.2.2634a mod_ssl/2.8.18 OpenSSL/0.9.7a

Location: http://www.yourprofile.nl/leden/lid.php?lid=php

Content-Type: text/html; charset=iso-8859-1

X-Cache: MISS from [proxy]

X-Cache-Lookup: MISS from [proxy]

Proxy-Connection: close



<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A HREF="http://www.yourprofile.nl/leden/lid.php?lid=php">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.31 Server at www.yourprofile.nl Port 80</ADDRESS>
</BODY></HTML>


http://www.checkupdown.com/status/E302.html :
Resolving 302 errors - general

The 302 response from your Web server should always include an alternative URL to which redirection should occur. If it does, a Web browser will immediately retry the alternative URL. So you never actually see a 302 error in a Web browser, unless perhaps you have a corrupt redirection chain e.g. URL A redirects to URL B which in turn redirects back to URL A. If your client is not a Web browser, it should behave in the same way as a Web browser i.e. immediately retry the alternative URL.

If the Web server does not return an alternative URL with the 302 response, then either the Web server sofware itself is defective or your Webmaster has not set up the URL redirection correctly.
Misschien is het een foutje in de vhost-config van je provider ?

[ Voor 89% gewijzigd door 0xDEADBEEF op 02-10-2004 14:05 ]

"Religion is an insult to human dignity. With or without it you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg


Verwijderd

Topicstarter
Ja maar wat ik me afvraag hoe kan deze file nou veranderd zijn. Ik ben er niet aangekomen en de andere scripter ook niet. Echt vaag dit.