Starting an Apache Server

Sir,
I have installed an Apache server in Fedora 9 (packages)
and when i go to etc folder and try the command

httpd -k start

it says command not found....can any one help me out!!!

---------- Post updated at 12:02 PM ---------- Previous update was at 11:46 AM ----------

When i give ./httpd -k start

It says ./httpd is a directory

---------- Post updated at 12:05 PM ---------- Previous update was at 12:02 PM ----------

How to make sure that current directory is in Path

Why don't you try:

service httpd start
or
/etc/init.d/httpd start
or
apachectl start (equivalent to apachectl -k start)

---------- Post updated at 12:08 PM ---------- Previous update was at 12:05 PM ----------

or simply run the following from command line:

httpd -k start
or
/usr/sbin/httpd -k start

Thank you ..finally its working!!

---------- Post updated at 12:22 PM ---------- Previous update was at 12:19 PM ----------

But when i start the server and run the cgi Program >...Its still showing Internal server Error!!

Hope this will help:
Internal Server Error - Causes and Fixes

Finally the Sample Testing Program is working!! cheers ..will try out my program

---------- Post updated at 01:00 PM ---------- Previous update was at 12:49 PM ----------

Thanks aditya ...Its working....Thank you for your great help...Have a great Future...
All the best!!:smiley: