Page 1 of 1

file not found

PostPosted: 06. June 2007 08:35
by mruczus
When I put in a browser address line http://localhost I can see a welcome xamp page but putting another file html or dll at xamp directory won't open it. Tried http://localhost/myfile.htm. In the browser I get "file not found".

PostPosted: 06. June 2007 09:32
by Wiedmann
Tried http://localhost/myfile.htm. In the browser I get "file not found".

The file "myfile.htm" is in the directory "\xampp\htdocs"?

PostPosted: 06. June 2007 11:57
by mruczus
Wiedmann wrote:
Tried http://localhost/myfile.htm. In the browser I get "file not found".

The file "myfile.htm" is in the directory "\xampp\htdocs"?


It was in a different directory. It works now. Thanks. I can see the htm files. I also need to test a client server application. I have a dll to be put on the http server and it is supposed to start connection to interbase but it won't start on the server. I can only see the message whether I want to open dll at the client side or download it.

PostPosted: 06. June 2007 12:25
by kschroeder
It's not done by simply copying the dll on the server.
Hopefully you have a documentation or tutorial how to install the dll on the server.

PostPosted: 06. June 2007 12:57
by mruczus
kschroeder wrote:It's not done by simply copying the dll on the server.
Hopefully you have a documentation or tutorial how to install the dll on the server.


This is NSAPI/ISAPI technology from a book teaching making Client-Server applications with Dephi 4 and I have found a suggestion that for some http servers ISAPIter.dll, which I have, should be put in http server directory and activated by putting some text in the server config file, so isapiter.dll should start together with xamp, but have not a clue how to do that or if I should do that or something else. For some servers, as the book says, just putting dll at http server directory and putting dll in the browser address line is supposed to start the dll at the server.

PostPosted: 08. June 2007 00:20
by Codesmith
server directory! not htdocs which is your web page directory!

look at http.conf, see where the other .dll files are located

If your book doesn't have detailed instructions for apache which is the most popular web server, then you need to read another book.

PostPosted: 08. June 2007 16:16
by mruczus
Codesmith wrote:server directory! not htdocs which is your web page directory!

look at http.conf, see where the other .dll files are located

If your book doesn't have detailed instructions for apache which is the most popular web server, then you need to read another book.


When I put the dll in cgi-bin directory I get a message in the browser:

server error 500
couldn't create child process: 720193: WEBSRV.dll is not a valid win32 application

websrv.dll is the isapi file I am testing

PostPosted: 10. June 2007 07:46
by Codesmith
Thats because its not a program, let along a cgi compliant program.

A .dll is library that is used by another program. In this case you tell apache to use the it by altering the .conf file.

I suggest you seek out better installation directions.