easy peasy guide to using monkey web server


Forum: Other Help Topics
Topic: easy peasy guide to using monkey web server
started by: ico2

Posted by ico2 on Aug. 15 2004,15:38
open dslpanel from the desktop and click the start button next to "monkey web server".
next open gllinks, dillo or firefox or whatever and load < http://localhost > you should get a page telling you that you are using monkey web server. now to put your own stuff in,
for some reason it is impossible to add or change files in the monkey web server directory , so you need to make it so you are able to add stuff, using xterm  chmod -R 777 /opt/monkey-0.8.2 now open your favourite text editor and type the following:

<html>
hello
</html>

and save it as /opt/monkey-0.8.2/htdocs/index.html

open a browser and once again point it to < http://localhost >
you should get a blank page with the world hello.

stay tuned for a tutorial of using php with monkey as soon as i work it out myself.

Posted by ico2 on Aug. 15 2004,20:38
guide to using php with monkey:
do the above steps before continuing (you can skip the creating index.html).
use dsl panel to stop monkey web server.
download php.tar.gz and put it in your home directory, in emelfm right click and select open with, type "tar -C / -zxvf" and press enter, you should see text scrolling by but there should be no errors, start monkey web server again from the dsl panel.
delete the file /opt/monkey/htdocs/index.html.
open scite and enter the following:

<?php
phpinfo();
?>
save it as test.php
open your favourite browser and type "http://localhost/test.php" (or < http://localhost > and click on test.php)

you should get a page of stuff.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.