Apache cannot access files in directory with "-" in directory name

I'm running XAMPP on my Windows Vista computer.

Server version: Apache/2.4.3 (Win32)

In web browser I can not access localhost/cgi-bin/hello.htm or any other file in the "cgi-bin" directory.

but if I rename directory "cgi-bin" to "cgibin" then I can access:

localhost/cgibin/hello.htm

Why can't I access directory with dash in it?
deleydAsked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
It's not the dash.  The default install of XAMPP has a 'cgi-bin' directory above the web root.  It is normally reserved for 'cgi' or 'pl' programs and is not supposed to be directly accessible from the web.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.