11-21-2009
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
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am not by any means a UNIX guru if you can't already tell by the question I'm about to ask.
How do I launch Apache web server on my SOlaris 8 server without rebooting it?
Any help would be much appreciated!!!
-Thanks (5 Replies)
Discussion started by: jskillet
5 Replies
2. UNIX for Dummies Questions & Answers
I successfully installed Apache, but When I tried to start it I experienced problems.
After installing and compiling, I typed the PREFIX "usr/local/
apache/bin/apachect1 start." The output was path not found.
After checking the apachect1 file using vi, I found the file empty.
There was no... (4 Replies)
Discussion started by: cstovall
4 Replies
3. Programming
Hi
I am new to APR and I started programming using APR 1.2.2.
So please guide me how to start learning it? (0 Replies)
Discussion started by: sumsin
0 Replies
4. Solaris
I've been working on a project to replace one of the my group's primary NIS servers. It also runs mysql and apache, as it is the host for the our team's hardware tracking database and website. Its running apache 1.3, and for some odd reason, I can't get apache to start on system boot. The... (1 Reply)
Discussion started by: godspunk32
1 Replies
5. UNIX for Dummies Questions & Answers
I just installed Apache 2.2.6 & when trying to start it i got this:
Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration
Any help? (3 Replies)
Discussion started by: moe2266
3 Replies
6. Web Development
Hi,
I just installed Apache 2.0.54 and when I try and start httpd I get
mohit@mohit-desktop:/sw/pkg/apache/bin$ ./httpd -k start
httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13): make_sock: could not bind to address :80
no listening... (1 Reply)
Discussion started by: mojoman
1 Replies
7. Programming
I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning.
The script is called cwrmail.pl and is located in my cgi-bin.
When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies
8. Red Hat
Hello,
I am facing an issue while starting the apache server after compiling php and curl.
Below are the versions i am using.
php-5.2.17
httpd-2.2.17
curl-7.16.0
CentOS5.5x64
Compiling above packages without curl working very fine but when trying to compile php with curl below error is... (1 Reply)
Discussion started by: sunnysthakur
1 Replies
9. HP-UX
Due to an activity scheduled on the server, I had stop the apache process and then restart when the activity completed. The activity started at 9am and ended around 9 pm.
To list the apache processes that were running on the server before I stopped it, I used ps -ef | grep apache, and these were... (11 Replies)
Discussion started by: anaigini45
11 Replies
LEARN ABOUT MOJAVE
git-instaweb
GIT-INSTAWEB(1) Git Manual GIT-INSTAWEB(1)
NAME
git-instaweb - Instantly browse your working repository in gitweb
SYNOPSIS
git instaweb [--local] [--httpd=<httpd>] [--port=<port>]
[--browser=<browser>]
git instaweb [--start] [--stop] [--restart]
DESCRIPTION
A simple script to set up gitweb and a web server for browsing the local repository.
OPTIONS
-l, --local
Only bind the web server to the local IP (127.0.0.1).
-d, --httpd
The HTTP daemon command-line that will be executed. Command-line options may be specified here, and the configuration file will be
added at the end of the command-line. Currently apache2, lighttpd, mongoose, plackup and webrick are supported. (Default: lighttpd)
-m, --module-path
The module path (only needed if httpd is Apache). (Default: /usr/lib/apache2/modules)
-p, --port
The port number to bind the httpd to. (Default: 1234)
-b, --browser
The web browser that should be used to view the gitweb page. This will be passed to the git web--browse helper script along with the
URL of the gitweb instance. See git-web--browse(1) for more information about this. If the script fails, the URL will be printed to
stdout.
start, --start
Start the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
stop, --stop
Stop the httpd instance and exit. This does not generate any of the configuration files for spawning a new instance, nor does it close
the browser.
restart, --restart
Restart the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
CONFIGURATION
You may specify configuration in your .git/config
[instaweb]
local = true
httpd = apache2 -f
port = 4321
browser = konqueror
modulePath = /usr/lib/apache2/modules
If the configuration variable instaweb.browser is not set, web.browser will be used instead if it is defined. See git-web--browse(1) for
more information about this.
SEE ALSO
gitweb(1)
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-INSTAWEB(1)