Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flags wont load and the city is double #262

Open
rchcoffey1 opened this issue Sep 22, 2022 · 2 comments
Open

flags wont load and the city is double #262

rchcoffey1 opened this issue Sep 22, 2022 · 2 comments

Comments

@rchcoffey1
Copy link

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
Copy link
Author

(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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants