Toon posts:

[CGI]Script werkt wel, maar niet op bepaalde server

Pagina: 1
Acties:
  • 84 views sinds 30-01-2008

Verwijderd

Topicstarter
Goedenmiddag,

Voor een maand of 3 gelden een CGI-scriptje geschreven en het werkt op verscheidene servers behalve degene waarop ik hem vandaag heb geprobeerd.

Het script is dus goed maar op de een of andere manier kan de server hem niet uitvoeren. Ligt het misschien aan de rechten van de file? Wie weet meer?

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
CGIWrap encountered an error while attempting to execute this script: 

Error Message: Permission denied 
Error Number: 13 
This message usually indicates there is a problem with the script itself. Often this indicates either that the #! line of the script is incorrect, or the script was uploaded in binary mode instead of ascii mode. Check to make sure that the script does not have control-M's at the end of every line. That will prevent it from executing. An easy fix that takes care of this most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on the first line of the script. This is typically a problem if the script was edited or uploaded from a DOS/Windows/Macintosh station to a unix based server. 
If you are not the owner of this script, please forward this error and the URL that caused it to the script owner. That is often the component in the URL right after /cgiwrap/. 



--------------------------------------------------------------------------------


Local Information and Documentation: 

Contact Name: Administrator 
Contact EMail: admin 

Server Data: 

Server Administrator/Contact: admin 
Server Name: www.domeinnaam.nl
Server Port: 80 
Server Protocol: HTTP/1.1 

Request Data: 

User Agent/Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 
Request Method: POST 
Remote Address: 80.127.80.236 
Remote Port: 21145 
Extra Path Info: /cgi-bin/bnbform.cgi 
Referring Page: http://www.domeinnaam.nl/formulier.nl


:P

Verwijderd

Topicstarter
Nieuwe foutmelding na wat gerommel met de rights op de server

code:
1
2
Internal Server Error  
 The server encountered an internal error or misconfiguration and was unable to complete your request. Your administrator may not have enabled CGI access for this directory.

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:45

crisp

Devver

Pixelated

lijkt sterk op een rechten/config kwestie. Beheer je die bak zelf, of is het remote hosting? In het 1e geval overweeg ik een move naar SA waar softwareproblemen thuishoren, in het 2e geval zou ik contact opnemen met je hoster...

Intentionally left blank


Verwijderd

Topicstarter
Remote Hosting

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:45

crisp

Devver

Pixelated

In dat geval dus even contact opnemen met je hoster; jij en wij kunnen natuurlijk niet zien hoe die server is ingericht, en je hoster moet je dat zo kunnen vertellen...

Intentionally left blank


Dit topic is gesloten.