# OpenGnsys ogdhcp configuration for Apache.
Alias /opengnsys3/rest OGHDPCDIR
# PHP-FPM configuration
SetHandler "proxy:fcgi://127.0.0.1:9000"
RewriteEngine On
# Default configuration.
Require all granted
Options -Indexes +FollowSymLinks
DirectoryIndex index.php
AddType octet/stream .pkg
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET,POST,OPTIONS,DELETE,PUT"
Header set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
FallbackResource /index.php