Difference between revisions of "Apache"

Jump to navigation Jump to search
451 bytes added ,  11:17, 12 January 2012
Added "Troubleshooting"
(Added "Log Rotation")
(Added "Troubleshooting")
Line 37: Line 37:
# Restart the apache service
# Restart the apache service
#* <code> service apache2 restart </code>
#* <code> service apache2 restart </code>
== Troubleshooting ==
=== NameVirtualHost *:80 has no VirtualHosts ===
On restarting Apache you get presented with the following warning
[Thu Jan 12 10:58:20 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
This is generally caused by duplicate <code>NameVirtualHost</code> entries in your config.
Perform the following in <code>/etc/apache2</code> folder to identify where the entries and delete the unwanted duplicates..
grep NameVir * -R

Navigation menu