[FLOW3-general] Basic Apache authentication

Andreas Förthner andreas.foerthner at netlogix.de
Mon Oct 31 10:59:57 CET 2011


Hi Ivan,

just a note: Of course you can use HTTP Basic auth via .htaccess files,
but this has nothing to do with FLOW3 then. If you want to use the Basic
authentication result, i.e. the authenticated user within your FLOW3
application you should go for FLOW3's HttpBasic authentication provider.
It can be configured like the following in your Settings.yaml:

TYPO3:
  FLOW3:
    security:
      authentication:
        providers:
          MyHttpBasicProviderName:
            providerClass: PersistedUsernamePasswordProvider
            tokenClass:
TYPO3\FLOW3\Security\Authentication\Token\UsernamePasswordHttpBasic
            entryPoint:
              HttpBasic:
                -


Greets Andi

Am 31.10.11 09:15 schrieb "Ivan Ruiz Gallego" unter <ivan at loglan.net>:

>Hi Pankaj,
>
>You were right. I was not allowed to use Auth* directives in that
>location. I've placed them directly in the vhost file and now it's
>working. Thank you very much.
>
>Best regards,
>Ivan.
>
>On 29.10.2011 15:36, Pankaj Lele wrote:
>> Hello Ivan,
>>
>>> ... and I get a 500 error. Is this simply not possible with FLOW3? Or
>>> (what's much more probable!) am I doing something wrong?
>>
>> Before going into the FLOW3 level, you might want to check following
>> probable things.
>>
>> 1. Check in your Apache error.log file to know more about the 500 error.
>> 2. Most probably you might not be allowed to use Auth* directives in the
>> .htaccess file based on the Directory settings done in the vhost config.
>> So in this case you have to either enable the "AllowOverride AuthConfig"
>> in the vhost settings or add your Auth* config to the vhost file itself.
>>
>> Hope that helps!
>>
>
>
Andreas Förthner
Leiter Web-Entwicklung

Telefon: +49 (911) 539909 - 0
E-Mail: andreas.foerthner at netlogix.de
Website: media.netlogix.de


--
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Andernacher Straße 53 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Internet: http://www.netlogix.de

netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt



_______________________________________________
>FLOW3-general mailing list
>FLOW3-general at lists.typo3.org
>http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general



More information about the FLOW3-general mailing list