Documentation Web Servers Beat

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(31 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{header|docs}}
 
{{header|docs}}
{{Docs_beat_open}}
+
{{Docs_beat_closed}}
  
 
== Introducing ==
 
Fedora can be used as great web-server, based on Apache, which included in distributive.
 
 
 
== Before starting ==
 
Before starting httpd, you should accept all input connections to http port in iptables. Usually it's 80.
 
<pre>iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT</pre>
 
 
After that, see chain INPUT in iptables - insert
 
<pre>iptables -L</pre>
 
If you can see changes - everything is ok.
 
 
 
== Configuring httpd.conf ==
 
First of all, you should configure your httpd. The configuration file you can found in /etc/httpd/conf/httpd.conf
 
 
 
== Starting httpd ==
 
You can start httpd by:
 
<pre>#httpd -k start</pre>
 
 
If you want to restart or stop httpd, use the following commands:
 
<pre>#httpd -k restart
 
#httpd -k stop</pre>
 
  
 
[[Category:Docs Project]]
 
[[Category:Docs Project]]
 
[[Category:Draft documentation]]
 
[[Category:Draft documentation]]
 
[[Category:Documentation beats]]
 
[[Category:Documentation beats]]

Revision as of 04:57, 8 May 2013

DocsProject Header docTeam1.png
Warning (medium size).png
Beat Closed on Wiki
Work on beats has now moved to git. If you have changes or additions, please contact the docs team via #fedora-docs, docs@lists.fp.o, or with the fedora-release-notes BZ component.