-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure no_script_name is false in app/config/settings.yml! #1
Comments
Hi, |
Hi, Thanks for the reply. I was getting an issue where http://www.MYAPPNAME.com/js/apps/routes.js wasn't returning the file. I changed my .htaccess so that it would point to http://www.MYAPPNAME.com/index.php/js/apps/routes.js. Here's my .htaccess if you're interested: Options -MultiViews +FollowSymLinks +ExecCGI RewriteEngine Onuncomment the following line, if you are having troublegetting no_script_name to workRewriteBase / RewriteRule ^js/app/routes.js index.php/js/app/routes.js we skip all files with .somethingRewriteCond %{REQUEST_URI} ..+$ we check if the .html version is here (caching)RewriteRule ^$ index.html [QSA] no, so we redirect to our front web controllerRewriteRule ^(.*)$ index.php [QSA,L] Thanks! On Dec 21, 2011, at 5:20 AM, Julien MUETTON wrote:
|
Hi, script is auto appened when is it what you are looking for ? Julien. On Wed, Dec 21, 2011 at 5:28 PM, Adam Becker <
|
I'm using "forced route exposition", like this: app: just to be clear, without my modified .htaccess, the plugin worked perfectly on all environments except the production environment, which has no_script_name set to true. Adam On Dec 21, 2011, at 8:35 AM, Julien MUETTON wrote:
|
your issue has nothing to do with the way you expose routes, but the way script is dynamic, so you can use the dedicated helper Hope this helped. If the probklem is still there, let me know and give the way you include Julien. On Wed, Dec 21, 2011 at 5:38 PM, Adam Becker <
|
Can this go in the readme? Took me a while to figure out that this is why this plugin wasn't working in the index.php/ environment.
The text was updated successfully, but these errors were encountered: