[win-apache/php] 400 Bad request

Pagina: 1
Acties:

  • drm
  • Registratie: Februari 2001
  • Laatst online: 09-06-2025

drm

f0pc0dert

Topicstarter
Hello GoT

Heb webservertje geinstalleerd (Apache 1.3.12 met PHP 4.05). Werkte goed.

Toen ging ik de CGI-variant van PHP veranderen naar de LoadModule variant. Toen zei Apache: "nee joh, dan werk ik niet meer mee". Toen dacht ik, ahh what the heck, dan maar weer terug naar de CGI-variant. Maar die werkt nou ook niet meer :?
Tussentijds heb ik niet aan php.ini gezeten, dus daar zal het niet aan liggen...

Ik krijg de volgende error in mijn errorlog:
[Thu Jun 14 11:20:49 2001] [error] [client 127.0.0.1] Invalid URI in request GET /php/self-service/index.php HTTP/1.1

En in IE een Bad Request (400)

httpd.conf:
Action application/x-httpd-php "d:/php/php.exe"
AddType application/x-httpd-php .php .php3 .php4

PHP staat dus op D:\PHP
enig idee wat fout zit ...? iemand ...?

Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz


  • drm
  • Registratie: Februari 2001
  • Laatst online: 09-06-2025

drm

f0pc0dert

Topicstarter
hmmmmmm,


was dit forum maar zo snel als P&W....

Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz


Verwijderd

Ik denk dat je het dermate verkloot hebt in je config dat je het beste even overnieuw kunt beginnen..

  • rvm
  • Registratie: November 2000
  • Niet online

rvm

Op donderdag 14 juni 2001 11:29 schreef drm het volgende:
dan maar weer terug naar de CGI-variant.

httpd.conf:
Action application/x-httpd-php "d:/php/php.exe"
AddType application/x-httpd-php .php .php3 .php4
Als je PHP als CGI-script draait, moet dat niet dit zijn:
AddHandler cgi-script .php .php3 .php4

  • Mark
  • Registratie: Juni 1999
  • Laatst online: 06-05 22:26
Op donderdag 14 juni 2001 13:51 schreef drm het volgende:
hmmmmmm,


was dit forum maar zo snel als P&W....
En dit is niet slim om te zeggen na 2,5 uur |:(

  • drm
  • Registratie: Februari 2001
  • Laatst online: 09-06-2025

drm

f0pc0dert

Topicstarter
RedRoon zei laatst:[/b]
En dit is niet slim om te zeggen na 2,5 uur |:(
2,5 uur is bij p&w errrrg veel. Je kan al raar opkijken als je binnen 10 minuten niet 5 posts hebt ;)

Maar niet getreurd :)
Het is allemaal weer aan de praat. Ik heb het gewoon ff allemaal from scratch opnieuw geinstalleerd, en het werkt weer.

Thnx for ur comments anyways ;P

Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz

Pagina: 1