rtyshyk
rtyshyk

Reputation: 971

Symfony 2 permissions for web folder

I added the lightbox and the path to the icons (forward, backward) not available on the Web (forbidden).

how to allow access to /lightbox/images?

Upvotes: 0

Views: 1122

Answers (1)

Ondrej Slinták
Ondrej Slinták

Reputation: 31970

Symfony's default .htaccess thinks /lightbox/images is actual route. You have to add an exception:

# allow access to lightbox
RewriteRule ^lightbox.* - [QSA,L]

However, why don't you add lightbox folder to web/?

Upvotes: 2

Related Questions