?
Solved

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

Posted on 2013-06-27
1
Medium Priority
?
463 Views
Last Modified: 2013-06-27
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?
0
Comment
Question by:deleyd
1 Comment
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 39282452
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses
Course of the Month7 days, 11 hours left to enroll

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question