02-10-2008
Main config file example is:
/etc/apache2/httpd.conf-example
default ( from the example ) DocumentRoot is
/var/apache2/htdocs
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Unix Gurus,
I am new to Unix.
My Project Manager has said that he wants me to assist in the configuration of Unix Web Servers.
What does this entail exactly?
What research can I do to prepare me for this first dabble with Unix?
Any help would be appreciated.
I have not been... (2 Replies)
Discussion started by: Sesame
2 Replies
2. UNIX for Dummies Questions & Answers
how must httpd.conf be configured
to exec the php files? (2 Replies)
Discussion started by: user666
2 Replies
3. UNIX for Dummies Questions & Answers
How do you tell which apache version is currently running.
the situation is that I got multiply httpd.conf files on a solaris 2.6 server and I need to tell which version is what? I have checked the httpd.conf but no joy
Thanks in Advance (3 Replies)
Discussion started by: hassan2
3 Replies
4. UNIX for Dummies Questions & Answers
on my webserver, and im sure many of you who also run one see this all the time, but the majority of my access log is filled with attempted exploits from computers compromised by some virus (NIMBDA?) and anyway i know this is harmless to an apache/linux webserver, but its annoying, anyway, on... (5 Replies)
Discussion started by: norsk hedensk
5 Replies
5. UNIX for Dummies Questions & Answers
Hi, I am new to unix and am trying to determine if apache is installed on my server. Is there a command to determine the running version or if it is even installed. I appreciate your help.
Thanks,
Eric (2 Replies)
Discussion started by: ejbrever
2 Replies
6. Shell Programming and Scripting
I have properly installed Apache server 2.0 on Linux redhat9 and its working
fine and showing its test page from LAN Computers. Now i want to change
the directory of apache so it can show my webpages.
Can anyone tell me where i can do that ?????
Please help in detail because i am facing... (1 Reply)
Discussion started by: wakhan
1 Replies
7. Web Development
Hi,
I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies
8. Red Hat
Have no idea on what the below error message is:
Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist.
Any help? (3 Replies)
Discussion started by: gull05
3 Replies
LEARN ABOUT LINUX
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 1.8.5.3 01/14/2014 GIT-INSTAWEB(1)