From 218358a39088e6583e7b55fcee05f646c23e5112 Mon Sep 17 00:00:00 2001 From: "GLEN TURNER (8GT6)" <8gt6@queensu.ca> Date: Thu, 21 May 2015 13:52:18 -0400 Subject: [PATCH] Update readme with better apache2 instructions --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index ea3b709..21c9332 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,34 @@ Google can help you find the install instructions which are straight forward. The only next trick is to change the host directory to the working directory. +1.check where is configuration. Generally, apache2 configuration file is located in /etc/apache2/ folder. + +_vi /etc/apache2/apache2.conf_ +in that file, you can find out the location of "DocumentRoot" config + +Include sites-enabled/ +that indicates your configration file is in "/etc/apache2/sites-enabled/". + +2.Edit DocumentRoot config + +vi /etc/apache2/sites-enabled/000-default +In that file, you can find the "DocumentRoot" like below + +DocumentRoot /home/glenturner/catkin\_ws/src/asctec\_pelican\_gui +And, modify that as you want. + +4.Change in apa.conf file to include: + + + Options Indexes FollowSymLinks + AllowOverride None + Require all granted + + +3.Restart apache. + +service apache2 restart + ## Getting server up and running# Here the rosbridge\_suite that is used to link the websocket and ROS: http://wiki.ros.org/rosbridge_suite.