Difference between revisions of "Apache2 confguration"

From Teknologisk videncenter
Jump to: navigation, search
m (added Category:UNIX using HotCat)
m
Line 1: Line 1:
=Checking configuration=
+
=Apache version 2.2=
To check the syntax of the configuration files use '''apachectl''<ref>[http://httpd.apache.org/docs/2.0/configuring.html#page-header Apache 2 documentation: Configuration files]</ref>
+
Apache version 2.2<ref>[http://httpd.apache.org/docs/2.2/ Apache 2.2 Documentation]</ref>
 +
==Checking configuration==
 +
To check the syntax of the configuration files use '''apachectl''<ref>[http://httpd.apache.org/docs/2.2/configuring.html Apache 2 documentation: Configuration files]</ref>
 
<source lang=cli>
 
<source lang=cli>
 
heth@mars:/etc/apache2$ <input>apachectl configtest</input>
 
heth@mars:/etc/apache2$ <input>apachectl configtest</input>

Revision as of 13:41, 4 May 2012

Apache version 2.2

Apache version 2.2[1]

Checking configuration

To check the syntax of the configuration files use 'apachectl[2]

heth@mars:/etc/apache2$ <input>apachectl configtest</input>
[Fri May 04 06:40:28 2012] [warn] NameVirtualHost *:443 has no VirtualHosts
Syntax OK

Links

References