Hi everyone,
I have a quite big problem, all my forms having the POST method have problem to be send to the server with IE 8
I use Apache 2.2, PHP 5.3.13.
<VirtualHost*:80>
// Some instructions
KeepAlive On
KeepAliveTimeout 1
</VirtualHost>
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain domain.fr
SSPIOfferBasic On
SSPIOmitDomain On
SSPIUsernameCase Lower
AuthName "Authentification SSO"
Require valid-user
Thanks for your help
Mikael
PS : Sorry for my poor English guys ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Alias /www/myfunction/sso_functions/ "D:/www/myfunction/sso_functions"
<Directory "D:/Intranet/Testcnns/fonction/auth_sso">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
#########################################################################################
## SSPI
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain domsyn.fr
## Set this if you want to allow access with clients that do not support NTLM, or via proxy from outside. Don't forget to require SSL in this case!
SSPIOfferBasic On
## Set this if you have only one domain and don't want the MYDOMAIN\ prefix on each user name
SSPIOmitDomain On
## AD user names are case-insensitive, so use this for normalization if your application's user names are case-sensitive
SSPIUsernameCase Lower
AuthName "Authentification SSO"
Require valid-user
#########################################################################################
</Directory>
And all your problemes with the forms having POST methods are gone.
With this solution you can also do some verification (on the IP adress by example) before including the file in the folder doing the SSO authentification. It can be useful to do not have the authentication box appears.
I hope it will help someone.
Mikael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I have a quite big problem, all my forms having the POST method have problem to be send to the server with IE 8
I use Apache 2.2, PHP 5.3.13.
It seems to be the same problem than here : http://www.webmasterworld.com/apache/3087425.htm
I put in httpd.conf the following instructions :
Thanks for your help
Mikael
PS : Sorry for my poor English guys ;-)
Hi,
I've found a solution to solve this problem. You just have to put the SSO authentification on a sub folder.
Let explain this with a little example. We have this arborescence :
/www/index.php
/www/myfunction/
/www/myfunction/functions.inc.php
/www/myfunction/sso_functions/
/www/myfunction/sso_functions/sso_functions.inc.php
In your httpd.conf you put these lines :
And all your problemes with the forms having POST methods are gone.
With this solution you can also do some verification (on the IP adress by example) before including the file in the folder doing the SSO authentification. It can be useful to do not have the authentication box appears.
I hope it will help someone.
Mikael
Forget my precedent post, it doesn't work !!
Just add
into your SSPI directives.
For me it works !
Mikael