Skip to content

How to Install Vish Editor with Apache

Aldo edited this page Feb 9, 2015 · 7 revisions

Use Vish Editor with Apache

Go to your workspace and clone the ViSH Editor repository:

git clone [email protected]:ging/vish_editor.git

Then, copy the /configuration/configuration_example.js file to /configuration/configuration.js and fill all the configuration values.

cd /vish_editor
cp /configuration/configuration_example.js /configuration/configuration.js

Configure Apache

Create a new file in /etc/apache2/sites-available and link the file to sites-enabled.
Use #{vish_editor_folder} as your document root.

Edit the file (for example: /etc/apache2/sites-enabled/default):

	DocumentRoot #{vish_editor_folder}
	<Directory />
		Options FollowSymLinks
		AllowOverride None
		Require all granted
	</Directory>
	<Directory #{vish_editor_folder}/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

Finally, restart apache.

sudo /etc/init.d/apache2 restart