Menu

Problem with forms with POST method on IE 8

Help
2012-07-13
2013-05-01
  • Mikael HERVOUET

    Mikael HERVOUET - 2012-07-13

    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 :

    <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 ;-)

     
  • Mikael HERVOUET

    Mikael HERVOUET - 2012-07-16

    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 :

    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

     
  • Mikael HERVOUET

    Mikael HERVOUET - 2012-07-27

    Forget my precedent post, it doesn't work !!
    Just add

    SSPIOfferSSPI On
    

    into your SSPI directives.

    For me it works !

    Mikael

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.