Anyone?

On Fri, Jul 30, 2010 at 1:13 PM, Gustavo Adrian <comfortablynum...@gmail.com
> wrote:

> Hi all,
>
> This is a topic I've been avoiding for a long time but now I need to deploy
> my app on a subdirectory and there's no other option. IMPORTANTE: It's on a
> SHARED HOSTING.
>
> The app dir structure now is something like this:
>
> /
> /demos
>   /myAppSymfonyFiles
>     /app
>     /cache
>     /config
>     /data
>     /lib
>     /plugins
> /public_html
>   /demos
>     /myDemoApp
>
>
> So, the public dir, as you may guessed, is "public_html". Under
> /demos/myDemoApp I have the contents of the "web" dir of Symfony. on
> "myAppSymfonyFiles" I've put the other Symfony dirs so they're private.
>
> I've changed successfully the webDir from projectConfiguration.class.php
> and I've changed the path to this file on the front controller as well.
> Everything works EXCEPT.. that it looks for every asset on the MAIN domain
> like:
>
> *www.mainDomain.com/css/style.css*
>
> When it should be..
>
> *www.mainDomain.com/demos/myDemoApp/css/style.css
>
>
> I tried to change the .htaccess from RewriteBase / to RewriteBase
> /demos/myDemoApp with no success.*
>
> Anyone knows what I'm missing?
>
>
>
> Thanks!
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to