OpenWISP-Manager icon indicating copy to clipboard operation
OpenWISP-Manager copied to clipboard

About Apache Virtual host configuration

Open mahlerno2 opened this issue 9 years ago • 3 comments

Dear experts,

I'm a quite newbie of Ruby and related stuffs, but finally installed essential prerequisites for running Openwisp-manager in the ubuntu-12.04. In front of executing own-daemon.sh, I'm blocked Virtual Host setup.

Does anyone could share configuration file or let me clear about like

"<RAILS BASE URI>", "<RAILS BASE PATH>/owm/public/", and where the git_config should be.

I don't have any of knows of apache so I don't know what are they.

mahlerno2 avatar Sep 23 '16 08:09 mahlerno2

I need some clarification on this as well...

Twanza avatar Sep 26 '16 18:09 Twanza

me too i need a clarification about this point.

mastrus avatar Nov 24 '16 16:11 mastrus

Hi i put this on my configuration file

Alias /owm "/var/www/owm/public/" <Directory /var/www/owm/public> Options ExecCGI FollowSymLinks AllowOverride all Order allow,deny Allow from all RailsEnv production RailsBaseURI "/owm" </Directory>

RewriteEngine on RewriteRule ^/get_config(.+)/$ /owm/get_config$1 [L]

<Location "/get_config"> Order Deny,Allow Deny from all Allow from 10.211.55.1/16 #<VPN-IP-RANGE> </Location>

<Location "/owm/get_config"> Order Deny,Allow Deny from all Allow from 10.211.55.1/16 #<VPN-IP-RANGE> </Location>

mastrus avatar Dec 10 '16 13:12 mastrus