peterlyttle
Technical User
Hello,
If someone could help me out it would be much appreciated as I keep getting a 500 Internal Server Error with every config/tutorial I try. I'm trying to get GestioIP Manager working with AD Group Authentication.
/var/ is where the site is located
/etc/apache2/conf.d/gestioip.conf
Has the following-
Anyone ideas?
If someone could help me out it would be much appreciated as I keep getting a 500 Internal Server Error with every config/tutorial I try. I'm trying to get GestioIP Manager working with AD Group Authentication.
/var/ is where the site is located
/etc/apache2/conf.d/gestioip.conf
Has the following-
Code:
<Directory "/var/[URL unfurl="true"]www/gestioip">[/URL]
AddHandler cgi-script .cgi
AddDefaultCharset utf8
AllowOverride None
DirectoryIndex index.cgi
Options ExecCGI
Order allow,deny
Allow from all
AuthLDAPBindDN CN=BINDACCOUNT,OU=TEST2,OU=TEST,OU=LONDON,DC=DOMAIN,DC=DOMAIN,DC=com
AuthLDAPBindPassword BINDPASSWORD
AuthLDAPURL ldap://10.10.10.10:389/DC=DOMAIN,DC=DOMAIN,DC=COM?sAMAccountName?sub?(objectClass=*)
AuthType Basic
AuthName "GestioIP - Authentication with AD account"
AuthBasicProvider ldap
AuthLDAPGroupAttributeIsDN on
require ldap-group "CN=DOMAIN_GROUP,OU=DG Groups,OU=Groups,DC=DOMAIN,DC=DOMAIN,DC=com"
# uncomment next line if you get error "(9)Bad file descriptor: Could not open password file: (null)"
# AuthUserFile /dev/null
ErrorDocument 401 /gestioip/errors/error401.html
ErrorDocument 403 /gestioip/errors/error403.html
ErrorDocument 404 /gestioip/errors/error404.html
ErrorDocument 500 /gestioip/errors/error500.html
</Directory>
<Directory "/var/[URL unfurl="true"]www/gestioip/res">[/URL]
AddHandler cgi-script .cgi
AddDefaultCharset utf8
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
AuthLDAPBindDN "CN=BINDACCOUNT,OU=TEST2,OU=TEST,OU=LONDON,DC=DOMAIN,DC=DOMAIN,DC=com"
AuthLDAPBindPassword BINDPASSWORD
AuthLDAPURL "ldap://10.10.10.10:389/DC=DOMAIN,DC=DOMAIN,DC=COM?sAMAccountName?sub?(objectClass=*)"
AuthType Basic
AuthName "GestioIP - Authentication with AD account"
AuthBasicProvider ldap
require ldap-group "CN=DOMAIN_GROUP,OU=DG Groups,OU=Groups,DC=DOMAIN,DC=DOMAIN,DC=com"
# uncomment next line if you get error "(9)Bad file descriptor: Could not open password file: (null)"
# AuthUserFile /dev/null
ErrorDocument 401 /gestioip/errors/error401.html
ErrorDocument 403 /gestioip/errors/error403.html
ErrorDocument 404 /gestioip/errors/error404.html
ErrorDocument 500 /gestioip/errors/error500.html
</Directory>
<Directory "/var/[URL unfurl="true"]www/gestioip/priv">[/URL]
AddDefaultCharset utf8
AllowOverride None
Order deny,allow
Deny from all
ErrorDocument 401 /gestioip/errors/error401.html
ErrorDocument 403 /gestioip/errors/error403.html
ErrorDocument 404 /gestioip/errors/error404.html
ErrorDocument 500 /gestioip/errors/error500.html
</Directory>
<Directory "/var/[URL unfurl="true"]www/gestioip/modules">[/URL]
AddDefaultCharset utf8
AllowOverride None
Order deny,allow
Deny from all
ErrorDocument 401 /gestioip/errors/error401.html
ErrorDocument 403 /gestioip/errors/error403.html
ErrorDocument 404 /gestioip/errors/error404.html
ErrorDocument 500 /gestioip/errors/error500.html
</Directory>
<Directory /var/[URL unfurl="true"]www/gestioip/errors>[/URL]
AddDefaultCharset utf8
AllowOverride None
Satisfy any
Allow from all
ErrorDocument 401 /gestioip/errors/error401.html
ErrorDocument 403 /gestioip/errors/error403.html
ErrorDocument 404 /gestioip/errors/error404.html
ErrorDocument 500 /gestioip/errors/error500.html
</Directory>
Anyone ideas?