Webstorm 9 internal server blocks hidden files (OSX)

I have a project that contains files beginning with "." such as ".some-file". Whenever there is some http request from a script for one of these files, the server returns "403 Forbidden". I've tested this by creating hidden files prefixed with ".".

There don't seem to be settings for the webstorm preview server, so I can't find a way to tweak the behaviour. Is there a solution for this one?

2 comments
Comment actions Permalink

Yes - this is done for security reasons: access is blocked for hidden files and files with name starting with ".ht". There is no way to turn this blocking off. Why do you need to acces hidden files from your script?

0
Comment actions Permalink

I personally wouldn't have used hidden files, but this particular project I've downloaded uses them for some reason. I can use a separate server, it is just convenient to run things from WebStorm.

0

Please sign in to leave a comment.