LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2008, 12:16 AM   #1
i.you
Member
 
Registered: Oct 2006
Posts: 46

Rep: Reputation: 15
Busybox httpd help


Hello

I'd like to run the httpd to use cgi.
so I've installed the busybox.
and wrote httpd.conf and inetd.conf to /etc.
and mkdir /www/cgi-bin and ran httpd.
(document root is /www)

Quote:
~# httpd
then I just tried to access to the server from a client (with brower).

Quote:
http://ipaddress/cgi-bin/test.cgi (in browser)
of course, it doesn't work.

I'm a newbie in Busybox.
There are only binaries (httpd, inetd) in Busybox httpd
so I've no idea how to start (how to configure, which files to need, and so on).
Could you let me know what to do after installing busybox httpd?
or good references or sites?

Thanks in advance.
 
Old 03-10-2008, 09:45 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by i.you View Post
and wrote httpd.conf and inetd.conf to /etc.
AFAIK you only need inetd.conf if you run inetd (services that don't run standalone).


Quote:
Originally Posted by i.you View Post
of course, it doesn't work (..) I've no idea how to start (how to configure, which files to need, and so on).
If you look at the comments in busybox/networking/httpd.c you'll get some examples. Adding "-vv" to your httpd commandline should show more details, could come in handy.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
cronjob to restart httpd if httpd is dead heropage Linux - Software 1 10-31-2007 01:22 PM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 10:31 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration