Skip to content

Commit

Permalink
add .cfs support, remove .lucee for war files
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 24, 2024
1 parent 93d580f commit 40220e8
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions apps/updateserver/services/legacy/build/war-6.2/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,17 @@
<description>Lucee Web Directory (for Website-specific configurations, settings, and libraries)</description>
</init-param>
!-->
<load-on-startup>2</load-on-startup>
<load-on-startup>1</load-on-startup>

</servlet>


<!-- ===================================================================== -->
<!-- Lucee REST Servlet - handles Lucee's RESTful web services -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet>
<servlet-name>RESTServlet</servlet-name>
<servlet-class>lucee.loader.servlet.RestServlet</servlet-class>
<load-on-startup>3</load-on-startup>
<load-on-startup>2</load-on-startup>
</servlet>

<!-- ===================================================================== -->
Expand Down Expand Up @@ -73,36 +72,26 @@
<load-on-startup>3</load-on-startup>
</servlet> -->



<servlet-mapping>
<servlet-name>LuceeServlet</servlet-name>
<url-pattern>*.lucee</url-pattern>
<url-pattern>/index.lucee/*</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>CFMLServlet</servlet-name>
<url-pattern>*.cfc</url-pattern>
<url-pattern>*.cfm</url-pattern>
<url-pattern>*.cfml</url-pattern>
<url-pattern>*.cfml</url-pattern>
<url-pattern>*.cfs</url-pattern>
<url-pattern>/index.cfc/*</url-pattern>
<url-pattern>/index.cfm/*</url-pattern>
<url-pattern>/index.cfml/*</url-pattern>
<url-pattern>/index.cfs/*</url-pattern>
</servlet-mapping>



<servlet-mapping>
<servlet-name>RESTServlet</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>


<!-- default file to execute if directory is called with no file name, e.g. http://mysite.com/ !-->
<welcome-file-list>
<welcome-file>index.cfm</welcome-file>
<welcome-file>index.lucee</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
Expand Down

0 comments on commit 40220e8

Please sign in to comment.