Solved

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

Posted on 2013-06-27
1
435 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 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now