I want to use "Pure" or "Vanilla" SES URLs in my apps ... by this I
mean something that looks like... http://example.com/section/item -
which seems to be the convention for rails, cf-wheels, php frameworks,
etc.
I added the SES code from "spills" to the framework, and set up my
.htaccess file in the Apache DocumentRoot like so....
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(cfide|files|images|js|css|index.cfm) [NC]
RewriteRule ^(.*)$ /index.cfm/$1
and saw that FW/1 was returning errors saying it could not find the
views or layouts. To my surprise I found that if I added these
folders to the RewriteCond exclude line, the app began to work..
RewriteEngine on
RewriteCond %{REQUEST_URI}
!^/(cfide|files|images|js|css|views|layouts|index.cfm) [NC]
RewriteRule ^(.*)$ /index.cfm/$1
This suggests that Apache is intervening in calls to views and
layouts, which I had always assumed was internal to CF (haven't
started on controllers yet).
Just thought this might be helpful for someone wanting the same effect.
-Rob
There must be something else going on in your code to cause the
behavior you are seeing.
Sean
If you need assistance with something, you should author a new post, providing all relevant information, and an actual question that can be answered.
https://groups.google.com/forum/#!topic/framework-one/ihpShgeYSQU
--
FW/1 documentation: http://framework-one.github.io
FW/1 source code: http://github.com/framework-one/fw1
FW/1 chat / support: https://gitter.im/framework-one/fw1
FW/1 mailing list: http://groups.google.com/group/framework-one
---
You received this message because you are subscribed to the Google Groups "framework-one" group.
To unsubscribe from this group and stop receiving emails from it, send an email to framework-one+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/framework-one.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to framework-on...@googlegroups.com.