|Symfony on Webspace, how to modify link_to? [message #76995]
||Fri, 17 April 2009 12:09
Registered: May 2008
I have a webspace, where the account root is the web root.|
So I have uploaded the following structure:
/sym <-- frozen project
/sym/web <-- the web
Each generated link_to link unfortunately points to '/sym/web/...' which works but I need to hide the /sym/web directory.
My htaccess already rewrites the urls for direct calls:
RewriteRule (.*) /sym/web/$1 [NC]
But is there a way to modify the link_to generation to point to the correct path?
Debugging is all I doֻ (if these dots are not in line then your screen is broken)