You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2006/11/27 04:25:35 UTC
[Httpd Wiki] Trivial Update of "Recipes/MovingDefaultDocRoot" by ChrisPepper
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by ChrisPepper:
http://wiki.apache.org/httpd/Recipes/MovingDefaultDocRoot
The comment on the change is:
Cleanup
------------------------------------------------------------------------------
= Moving your default DocRoot =
- If you want to move your default !DocumentRoot path, there are two things you need to update.
+ If you want to change your default !DocumentRoot path, there are two things you need to update.
1. The !DocumentRoot directive
1. The <Directory> block associated with the !DocRoot.
@@ -10, +10 @@
'''Example Old Configuration'''
- For example, your old config may have looked somehting like this :
+ For example, your old config may have looked something like this:
{{{
...
@@ -28, +28 @@
'''Example New Configuration'''
- Now lets say you want to move the !DocRoot to ''/var/www'' you will need to update both of these.
+ Now let's say you want to move the !DocRoot to ''/var/www''; you will need to update both of them.
{{{
...
@@ -44, +44 @@
...
}}}
- These steps not only apply to the main server config, but also any !VirtualHosts you may want to change.
+ These steps not only apply to the main server config, but also any !VirtualHosts you want to change.