2

I am using ColdFusion 8, and the built-in webserver as a development environment.

In order to access sites hosted by the CF built-in webserver you put site directories in cf_root/wwwroot/ and can find them at localhost:8500/, and by default the contents of the directory cf_root/wwwroot are listed at localhost:8500 and any directory that does not have an index file will have it's contents listed by default.

I would like to change this.

I do not want directory contents to be displayed to the user because I want to be able to use localtunnel.

1 Answer 1

3

I would just put an index.cfm file in the wwwroot folder, with nothing in it. That will prevent the directory listing from displaying. So long as their is an index.cfm file, it will be rendered by default.

To disable file browsing completely on the built-in CF server, follow these instructions.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .