Update readme with better apache2 instructions

This commit is contained in:
GLEN TURNER (8GT6)
2015-05-21 13:52:18 -04:00
parent 26004fd6b3
commit 218358a390

View File

@@ -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:
<Directory /home/glenturner/catkin\_ws/src/ascte\_cpelican\_gui>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
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.