This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Static content inside folder

New topics about Symfony 2 should go here

Static content inside folder

by timossian » Fri Apr 10, 2015 11:04 am

First of all. I haven't got any knowledge about Symfony. I just have to do a few modifications to an existing site quick and dirty. Now here is the case.
I need to "bypass" the Symfony framework to access static content in a folder e.g. (domain.com/folder).
This folder contains index.html and all the needed images, css, js etc. It also contains sub pages like (domain.com/folder/sub.html, domain.com/folder/sub2.html etc.). These sub pages are accessible thourgh domain.com/folder/index.html.

How can I do this?
timossian
Junior Member
 
Posts: 1
Joined: Fri Apr 10, 2015 10:52 am

Re: Static content inside folder

by karop » Sun May 17, 2015 1:20 pm

From what I understand the page is running on Symfony and you want access a directory without engaging Symfony at all?
Maybe .htaccess?
karop
Junior Member
 
Posts: 13
Joined: Tue Oct 02, 2012 4:25 pm