Solved

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

Posted on 2013-06-27
1
448 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 83

Accepted Solution

by:
Dave Baldwin earned 500 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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