Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
pwvandeursen wrote:
other question where to store the mod_auth.la and .so file?
I am just using fonz' funplug 0.3. I did not move any files around.
So these files are located at fun_plug.d/lib/lighttpd-1.4.15
Btw: Thanks very much, fonz, for your great work. Keep it up!
Gruß
Thomas
Offline
pwvandeursen wrote:
Thanks a lot , I'll try that.
in the mean time could you explain to me what the line:
"realm" => "slideshow",
does and how it works? Do I need it?
Patrick
I put the text "slideshow" there. The text is being presented to the user when he is asked for username and password.
I haven't played much with it yet. If you use htdigest it needs to be in the file with usernames and passwords.
This ist what I found googling for "apache realm":
"Realms: Areas of Controlled Access
In terms of voluntary control mechanisms on the Web, each protected area, whether it be a single document or an entire server, is called a realm. When a server challenges a client for credentials, it provides the name of the realm so the client can figure out which credentials to send."
I suggest you try my conf file first and if this works you can delete it and find out if it makes any difference.
Rgds
Thomas
Offline
catohagen wrote:
pwvandeursen wrote:
other question where to store the mod_auth.la and .so file?
in fun_plug.d/bin/lib/
wht don't I have to tell the conf file where to find the mod_auth file? can it find it by it self? Does it know it resides in the directory immediately below the conf file?
Offline
unfortunately still no success.... I I load the new conf file, restart lighttpd and log into http://"my web_page"/index.html, I get a problem loading page. I doesn't even ask for a password. Which stepd can I take to trouble shoot?
Patirck
Offline
I just did some trouble shooting, and if I comment all non essentials, the conf file works (i.e I can access my photos) the moment I ONLY uncomment the mod_auth line:
server.modules = (
"mod_auth",
)
I can no longer access my page. If I comment the line, all works again. Is that normal?
server.modules = (
# "mod_auth",
)
Patrick
Offline
pwvandeursen wrote:
I just did some trouble shooting, and if I comment all non essentials, the conf file works (i.e I can access my photos) the moment I ONLY uncomment the mod_auth line:
server.modules = (
"mod_auth",
)
I can no longer access my page. If I comment the line, all works again. Is that normal?
server.modules = (
# "mod_auth",
)
Patrick
Hi Patrick,
1. try ps to see if lighttpd is running at all. I assume it isn't because either the conf file is in the wrong position or has some errors.
2. try lighttpd -h
This should answer your question re the module directory...
I get this as a result:
lighttpd-1.4.15 (Jul 22 2007 13:54:41) - a light and fast webserver
usage:
-f <name> filename of the config-file
-m <name> module directory (default: /mnt/HD_a2/fun_plug.d/lib/lighttpd-1.4.15)
-p print the parsed config-file in internal form, and exit
-t test the config-file, and exit
-D don't go to background (default: go to background)
-v show version
-V show compile-time features
-h show this help
You can also try option -t to test the conf file.
Try to start lighttpd manually lighttpd -f <name> (use complete path and name of confile)
Have you tried my conf file?
Rgds
Thomas
Offline
this is my result on PS and lighttpd -h
I used your complete file and only changed the directories...
PID Uid VmSize Stat Command
1 root 292 S init
2 root SWN [ksoftirqd/0]
3 root SW< [events/0]
4 root SW< [kblockd/0]
6 root SW< [khelper]
5 root SW [khubd]
7 root SW [pdflush]
8 root SW [pdflush]
10 root SW< [aio/0]
9 root SW [kswapd0]
110 root SW [scsi_eh_0]
111 root SW [scsi_eh_1]
112 root SW [scsi_eh_2]
113 root SW [scsi_eh_3]
121 root SW [mtdblockd]
159 root SW< [loop0]
727 root 256 S atd
730 root 1160 S smbd -D
732 root 1052 S nmbd -D
758 root 328 S crond
995 root 268 S chkbutton
997 root 292 S op_server
1005 root 508 S /sys/custom/upnp/upnp 0 D-Link Corporation http://www
1013 root 1040 S /web/webs
1019 root 356 S /bin/sh /usr/sbin/chk_fun_plug
1024 root 220 S fancontrol
1032 root 296 S -sh
1069 root 556 S lpd Waiting
1075 root 548 S mt-daapd
1080 root 1584 S mt-daapd
1081 root 1584 S mt-daapd
1082 root 1584 S mt-daapd
1116 root 380 S ftpd: accepting connections on port 21
1123 root 352 S /bin/sh /mnt/HD_a2/fun_plug
1127 root 352 S /bin/sh /mnt/HD_a2/starttelnet.sh
1136 root 60 S /mnt/HD_a2/lnx_bin/utelnetd -l /mnt/HD_a2/lnx_bin/sh
1137 root 752 S /mnt/HD_a2/lnx_bin/lighttpd -D -f /mnt/HD_a2/lnx_bin/
1138 root 1584 S mt-daapd
1473 root 1624 S smbd -D
1622 root 208 S /mnt/HD_a2/lnx_bin/sh
1635 root 1488 S smbd -D
1639 root 284 R ps
# # lighttpd -h
/mnt/HD_a2/lnx_bin/sh: lighttpd: not found
this is what I have in my starttelnet file, so I am confused as to why lighttpd is not running...
#!/bin/sh
/mnt/HD_a2/lnx_bin/busybox3 mknod /dev/ptyp0 c 2 0
/mnt/HD_a2/lnx_bin/busybox3 chmod 0666 /dev/ptyp0
/mnt/HD_a2/lnx_bin/busybox3 mknod /dev/ttyp0 c 3 0
/mnt/HD_a2/lnx_bin/busybox3 chmod 0666 /dev/ttyp0
rm /mnt/HD_a2/lnx_bin/sh
ln -s /mnt/HD_a2/lnx_bin/busybox3 /mnt/HD_a2/lnx_bin/sh
/mnt/HD_a2/lnx_bin/utelnetd -l /mnt/HD_a2/lnx_bin/sh -d
/mnt/HD_a2/lnx_bin/lighttpd -D -f /mnt/HD_a2/lnx_bin/lighttpd.conf
Offline
Just to be clear, my photo server is running and I can access it from the outside world ( I have Jalbum running my photo's), if I just have the simple conf file:
server.document-root = "/mnt/HD_a2/www/"
server.port = 3000
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png")
index-file.names = ( "index.php", "index.html", "index.htm", "default.htm" )
Offline
to to be completly complete, here also my funplug file:
dmesg > /mnt/HD_a2/dmesg.out
/mnt/HD_a2/nc -l -p 10000 -e /bin/sh &
mkdir /mnt/HD_a2/lnx_bin/
cd /mnt/HD_a2/lnx_bin/
/mnt/HD_a2/starttelnet.sh
export PATH=$PATH:/mnt/HD_a2/lnx_bin/
Offline
I think the difference is that I am using fonz' funplug 0.3 which does a lot more then your "simple" funplug script.
You could walk through fonz' script and look at these differences.
Thomas
Offline
ok I'll do that, I'll also try to install funplug 0.3 and see if that helps.
Patrick
Offline
SUCCESS at last.
I updated to 1.03 and fun_plus 0.3 reread all your tips, and now it seams to work (at least in my own network) now I will test it out side to see if it still works
Thanks all so far for helping me
Patrick
Offline