Monkey webserver

Browsers, email, chat, etc.
Message
Author
User avatar
KusaNoKaito
Posts: 99
Joined: Fri 19 Feb 2010, 22:52
Location: Florida
Contact:

#21 Post by KusaNoKaito »

This is a great web server! works right after install and little configuration is necessary in puppy 5.1.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#22 Post by sc0ttman »

Here's how to make PPLOG work with monkey.
I thought I would post this, after attempting it myself.

Using PPLOG setup as described below, I can edit a blog at:
http://localhost/cgi-bin/pup_pplog.pl

Here's my setup:

1. My Monkey setup has the following file and folder layout:

Code: Select all

/root/webserver
/root/webserver/cgi-bin   <-- my default cgi bin (containing the main pup_pplog.pl script)
/root/webserver/www    <--- my web home dir
/root/webserver/www/blog    <---  the place where I have my other PPLOG files
2. My '/etc/monkey/monkey.conf' file:

Code: Select all

Server_root /root/webserver/www
..
Server_ScriptAlias /cgi-bin/ /root/webserver/cgi-bin
3. And here is (part of) my PPLOG config in '/root/webserver/cgi-bin/pup_pplog.pl':

Code: Select all

our $config_smiliesFolder = '/root/webserver/www/blog/smilies';
our $config_smiliesFolderName = 'smilies';
our $config_postsDatabaseFolder = '/root/webserver/www/blog/posts';
our $config_commentsDatabaseFolder = '/root/webserver/www/blog/comments';
our $config_currentStyleFolder = '/blog';	

BUT.... Grrrrr.....
It MOSTLY works fine, but I still cannot get images to work in PPLOG (smilies or reddit)!!!

EDIT AGAIN:: It has stopped displaying anything at all, giving an error when run in the terminal:

Code: Select all

Can't locate CGI .. blah.. @INC.. blah


Help please!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Post Reply