I have a project used FW1 and the client want remove index.cfm to make more
user friendly URL. How can i do that?
My server used : nginx> tomcat > lucee
Thanks
I have a project used FW1 and the client want remove index.cfm to make more
user friendly URL. How can i do that?
My server used : nginx> tomcat > lucee
Thanks
have you set SESOmitIndex?
Developing Applications Manual · framework-one/fw1 Wiki · GitHub 16 October 2015 at 11:05, Minh Y Nguyen <@Minh_Y_Nguyen> wrote:
I have a project used FW1 and the client want remove index.cfm to make
more user friendly URL. How can i do that?
My server used : nginx> tomcat > luceeThanks
–
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your
ticket NOW - http://www.cfcamp.org/You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/720f81aa-954a-4e5b-9a92-2480025ceaaa%40googlegroups.com
https://groups.google.com/d/msgid/lucee/720f81aa-954a-4e5b-9a92-2480025ceaaa%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
–
AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix
Just edit the /opt/tomcat/conf/web.xml of tomcat and scroll allll the way down and at the welcome-file-list:
<welcome-file-list>
<welcome-file>index.cfm</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>Von: lucee@googlegroups.com [mailto:lucee@googlegroups.com] Im Auftrag von Minh Y Nguyen
Gesendet: Freitag, 16. Oktober 2015 05:06
An: Lucee lucee@googlegroups.com
Betreff: [Lucee] How to remove index.cfm on FW1 project
I have a project used FW1 and the client want remove index.cfm to make more user friendly URL. How can i do that?
My server used : nginx> tomcat > lucee
You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.commailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.commailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/720f81aa-954a-4e5b-9a92-2480025ceaaa%40googlegroups.comhttps://groups.google.com/d/msgid/lucee/720f81aa-954a-4e5b-9a92-2480025ceaaa%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.
I just tried rewrite on nginx, and it works fine, bellow is my config on
ngixn.conf
server {
listen 80;
server_name localhost;
location / {
rewrite ^(/lucee|/railo-context)(.*)$ $1$2 break;
rewrite ^([^.]+)$ /index.cfm?furl=$1 break;
proxy_pass http://localhost:8888;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
}
}
Vào 10:05:45 UTC+7 Thứ Sáu, ngày 16 tháng 10 năm 2015, Minh Y Nguyen đã
viết:>
I have a project used FW1 and the client want remove index.cfm to make
more user friendly URL. How can i do that?
My server used : nginx> tomcat > luceeThanks