Error loading javascript

Hello everyone,
i have error:404
Where have to configurate…apache or lucee ?
The path for javascript is OK same path(cfm and js)
Thanks

apache 9.0.19
lucee 5.3.3.6-SNAPSHOT

I guess you need in your server.xml something like this:

<Host appBase="webapps" name="localhost">
    ...
    <Context docBase="/var/projectA/static" path="/projectA/" />
</Host>

For further references, google “tomcat serve static files”, like here:

1 Like