furlongm / openvpn-monitor

openvpn-monitor is a web based OpenVPN monitor, that shows current connection information, such as users, location and data transferred.
http://openvpn-monitor.openbytes.ie
GNU General Public License v3.0
968 stars 294 forks source link

flags wont load and the city is double #262

Open rchcoffey1 opened 2 years ago

rchcoffey1 commented 2 years ago

hi, flags won't load and the city name is doubled ... i check the apache log and it states a scrip error ... and I put the / tailing the URL .. please help

rchcoffey1 commented 2 years ago

(13)Permission denied: AH01241: exec of '/var/www/html/openvpn-monitor/images/flags/us.png' failed[client 10.50.50.6:52958] End of script output before headers: us.png, referer: http://10.50.50.1/

galavichid commented 1 year ago

Try this in your /etc/apache2/sites-enabled/openvpn-monitor.conf

ScriptAlias / /var/www/html/openvpn-monitor/openvpn-monitor.py <Directory /var/www/html/openvpn-monitor> Options +ExecCGI DirectoryIndex openvpn-monitor.py Order allow,deny Allow from all AddHandler default-handler .jpg .png Require ip /24