I'm playing with Cache web apps (CSP pages) and local dev . . .
My understanding is that when you run Cache, it spins up a very lightweight Apache web server with the web root C:\InterSystems\Cache\CSP (or where your CSP folder happens to be).
However, if I put the index.html at C:\InterSystems\Cache\CSP\index.html or if I create a new folder and place it there (I tried C:\InterSystems\Cache\CSP\www\index.htm), I get a 404 not found error. Note, that I created the www directory, it didn't already exist. Nothing in the developer console on the browser seems to show any issue and I did check the httpd config file and it seems my web root is C:\InterSystems\Cache\CSP.
So in a nutshell my config looks like this:
### Section 1: Global Environment
Alias /csp/ "C:/InterSystems/Cache/CSP"
LoadModule cspsys_module_sa "C:/InterSystems/Cache/CSP/bin/CSPa24Sys.dll"
LoadModule csp_module_sa "C:/InterSystems/Cache/CSP/bin/CSPa24.dll"
And I can only put HTML or CSP files in one of the existing sub directories of C:/InterSystems/Cache/CSP for them to be served successfully when requesting from localhost:57772. If I place a HTML or CSP at the top level, or a new directory I get 404.
Do you know what the issue could be that I can't create new folders in my web root or place files at the top level of the web root?