Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
webfs Setup?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Tue Sep 28, 2004 12:22 pm    Post subject: webfs Setup? Reply with quote

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
View user's profile Send private message
FallenAngel
n00b
n00b


Joined: 29 Sep 2004
Posts: 51

PostPosted: Fri Oct 01, 2004 4:54 pm    Post subject: Reply with quote

if you just want to redirect the user to another port, use iptables for portforwarding...
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Fri Oct 01, 2004 5:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum