[TYPO3-mvc] Extension-htaccess possible?

"Christian Müller [kitsunet]" christian at kitsunet.de
Thu Oct 8 10:26:03 CEST 2009


Joerg Schoppet schrieb:
> So this is my solution as of now
> 
> <FilesMatch \.*$>
>         Order deny,allow
>         Deny from all
> </FilesMatch>
> 
> <FilesMatch \.(?i:gif|jpe?g|png|js|css|sxw)$>
>         Order allow,deny
>         Allow from all
> </FilesMatch>
> 
> 
> Is this workable?
> 
> I was not able to generally allow Resources/Public and deny everything 
> else.
> 
> Joerg
How about using a RewriteRule with a 403 Status if trying to access 
anything else then /Resources/Public

Or use two htaccess, one with a simple Deny from all in the extension 
base dir and another one with allow from all in Resources/Public

Christian


More information about the TYPO3-project-typo3v4mvc mailing list