View previous topic :: View next topic |
Author |
Message |
flickerfly l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Funny_Figure/pilgrim.gif)
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Tue Sep 28, 2004 12:22 pm Post subject: webfs Setup? |
|
|
I'd like to use webfs or some other simple static HTML web server to serve up a simple page to redirect the user to another port being run by another piece of software. Is there any simple tutorial somewhere for this?
I checked the man page and I understand the options, but I don't seem to know what options I need and the program seems to error out silently.
Thanks _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FallenAngel n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Sep 2004 Posts: 51
|
Posted: Fri Oct 01, 2004 4:54 pm Post subject: |
|
|
if you just want to redirect the user to another port, use iptables for portforwarding... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flickerfly l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Funny_Figure/pilgrim.gif)
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Fri Oct 01, 2004 5:52 pm Post subject: |
|
|
Yeah, except I want other stuff available on port 40 to people who know its there like webalizer stats. I think I've got it working with the command:
Code: | webfsd -r /var/www/localhost/htdocs/ -p 80 -s -n name.company.com -l /var/log/webfsd.log -f index.html |
I then stuck it in /etc/conf.d/local.start to make sure it came up with a server reboot.
I can then hit http://name.company.com/logs/ for my webalizer stats. _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|