Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st April 2010, 05:46 PM
legendbb Offline
Registered User
 
Join Date: Mar 2007
Location: Canada
Age: 35
Posts: 25
windows_xp_2003firefox
Smile Apache httpd equivalent use for micro-httpd line

Have a line in /etc/inetd.conf in Ubuntu 9.10
www stream tcp nowait root /usr/sbin/tcpd /usr/sbin/micro-httpd /tftpboot

could not find micro-httpd in Fedora, so approaching to Apache httpd.

Can anyone show me how to make the similar function configuration by httpd command line, so I can put it in /etc/xinetd.conf

I added configuration in /etc/xinetd.conf as below:
service http
{
socket-type = stream
protocol = tcp
wait = no
user = root
server = /user/sbin/tcpd
server_args = /usr/sbin/httpd /var/lib/tftpboot
}


Thanks,
__________________
Thinkpad x61T, Fedroa 13 x64
Thinkpad T42, Fedora 12, 2.6.32.11-99.fc12.i686
Linksys WRT54GL, RB433XXX, OpenWRT bleeding edge
Reply With Quote
  #2  
Old 22nd April 2010, 01:21 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
linuxfirefox
Re: Apache httpd equivalent use for micro-httpd line

Apache httpd is a stand-alone server, it doesn't use xinetd or inetd. Remove the useless configuration section from xinetd.conf.
If you want a lightweight http server, try thttpd or lighttpd.
Reply With Quote
  #3  
Old 29th April 2010, 08:59 PM
legendbb Offline
Registered User
 
Join Date: Mar 2007
Location: Canada
Age: 35
Posts: 25
windows_xp_2003firefox
Re: Apache httpd equivalent use for micro-httpd line

Thanks to markkuk
I've tested thttpd server, it works perfect for me.

Just one note if someone ever encounter similar concern as a newbie.

remove executable property for the file if you need http access under thttpd.
$ chmod -x file_name
__________________
Thinkpad x61T, Fedroa 13 x64
Thinkpad T42, Fedora 12, 2.6.32.11-99.fc12.i686
Linksys WRT54GL, RB433XXX, OpenWRT bleeding edge
Reply With Quote
Reply

Tags
httpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd problem and caused my httpd to shut-down golpemortal Using Fedora 4 8th April 2007 03:33 AM
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /us Kingtu Servers & Networking 2 5th April 2007 12:54 AM


Current GMT-time: 18:26 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat