02-10-2008
You do not need to do much here
I did not fully grep where you are at on the learning curve.
However, if you are looking to publish a simple beginner web site, just get Apache up and running, find the root document of Apache, and put your index.php, or index.html in it, then open your web browser to http : // localhost / index. php and your site is up and running.
In Red Hat Linux, root document is located at /var/www/html
in Slackware it is at /var/www/, the same for BSD family
In OpenSuSE its at /srv/www/htdocs
I did not work with Solaris 10 lately. But you can look for "httpd.conf-example" to locate the root document.
You can build folders in a tree structure from that root document. Every document will show on the web browser with the correct permissions and links.
If you are a web master, and using PHP, Python, Perl CGI, or just Apache pre-compiled modules, you probably won't need to know about Apache more than how to install and uninstall a module, how to stop it and start it, and how to configure httpd.conf. You'll spend 99% of your time maintaining the content.
Apache is faithful, and will work in the background without complaints (with the correct settings) and you'll take it for granted that it is working fine.
Good luck
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 DEBIAN
runapp::apache
RunApp::Apache(3pm) User Contributed Perl Documentation RunApp::Apache(3pm)
NAME
RunApp::Apache - Apache control for RunApp
SYNOPSIS
use RunApp::Apache;
$apache = RunApp::Apache->new
(root => "/tmp/apache_run",
report => 1,
apxs => '/usr/local/sbin/apxs',
# httpd => '/usr/local/sbin/httpd',
required_modules => ["log_config", "alias", "perl", "mime"],
config_block => q{
[% IF AP_VERSION == 2 %]
eval { use Apache2 };
eval { use Apache::compat };
[% END %]
<Location /myapp>
AllowOverride None
SetHandler perl-script
PerlSetVar approot [% cwd %]
PerlHandler MyApp
Options +ExecCGI
</Location>
});
DESCRIPTION
This is the class for defining a apache web server to be used in RunApp.
CONSTRUCTOR
new (%arg)
Required arg:
root
The root for the apache instance.
apxs
httpd
If "apxs" is specified, "httpd" will be derived from it.
required_modules
A arrayref to the apache modules required.
config_block
The config block that will be the extra block in the template used by RunApp::Template::Apache.
CTL The class for handling apachectl. The default is RunApp::Control::AppControl. You can also use RunApp::Control::ApacheCtl.
CONF
The class for handling apache config. The default is RunApp::Template::Apache. It is used in the "build" phase of RunApp
SEE ALSO
RunApp, RunApp::Control::Apache, RunApp::Template::Apache, App::Control
AUTHORS
Chia-liang Kao <clkao@clkao.org>
Refactored from works by Leon Brocard <acme@astray.com> and Tom Insam <tinsam@fotango.com>.
COPYRIGHT
Copyright (C) 2002-5, Fotango Ltd.
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.8.8 2008-01-09 RunApp::Apache(3pm)