Null httpd rox wrapper (beta version)

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

Null httpd rox wrapper (beta version)

#1 Post by GuestToo »

Null httpd rox wrapper

this puts a wrapper icon in my-roxapps

click the icon to start/stop/restart the httpd server
drag the icon to the desktop if you want a shortcut
right click the icon for Help or to Uninstall
or for other menu items (configure, show server)

there's also a command line program to start/stop/restart the server, called httpd-server

this is a beta version ... not thoroughly tested

version 0.0.2:
the server runs as user nobody or as user root
Attachments
httpdwrapper.pup
Null httpd rox wrapper
(12.68 KiB) Downloaded 1777 times
Last edited by GuestToo on Fri 12 Aug 2005, 07:53, edited 1 time in total.

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

another great one

#2 Post by klhrevolutionist »

Again G@ great job, however when trying to put up wiclear another wiki
it seems there is an error as follows,

The file or function 'http://172.2.25.25.2/root/wiclear/wiclear/install/' could not be found.

if anybody reads this, am I doing something wrong?
would be grateful for any tips or suggestions
another thing can I somehow instead of having those numbers put a name
like instead of http://172.25.25.2 could'nt I put up say http://wokkawokka
???? any help would be greatful
and again great job Guest too

EDIT (To be more clear, in order to install wiclear, I have to point my server towards
/root/wiclear/wiclear/install/ then the installation process of wiclear will begin!
but I think you may have answered my question, I just wanted to be more clear
thanks)
Last edited by klhrevolutionist on Fri 12 Aug 2005, 00:19, edited 1 time in total.
Heaven is on the way, until then let's get the truth out!

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#3 Post by GuestToo »

i'm not sure what your question is

people should only see files that are in your SERVER_BASE_DIR (httpd.cfg)

Puppy's Null httpd is in /root/ghttpd/
if you have not changed the default configuration, your web pages should be in /root/ghttpd/htdocs/

so if you start httpd, anyone connecting to your httpd webserver should see any files in /root/ghttpd/htdocs/ ... if there is a file called index.html, they should see that as your web page

for example, if your ip address is http://wokkawokka.dyndsn.org/, if they click that url they should see /root/ghttpd/htdocs/index.html

if you want people to see files in /root/wiclear/wiclear/install/, they can't unless you reconfigure httpd to show all files in /root, which is not a good idea (all your files will be visible, including /root/.etc/passwd, /root/.etc/shadow etc etc etc)

they only files people should be able to see are in
/root/ghttpd/htdocs/ (unless you reconfigure it)

i think you can put symlinks to files in htdocs too

so if you want people to see files in /root/wiclear/wiclear/install/, you can reconfigure the httpd config file so /root/wiclear/wiclear/install/ is your SERVER_BASE_DIR, or you can copy, move, or symlink the files to /root/ghttpd/htdocs/, or whatever your SERVER_BASE_DIR is

for example, if you drag the install folder to htdocs with the middle mouse button and click Link, then http://wokkawokka.dyndsn.org/install/ should show the files in the install folder (or whatever your real ip address is, name or number)

Post Reply