Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

system info: i have installed XAMPP on my machine having Window XP OS .

also installed Apache2.2,

now, i have created two folders in C:\xampp\htdocs they are php and perl .

these folder contains programs in their respective languages (ie index.php and respectively)

when i type in browser : http: //localhost:88/php/ the program in index.php gets executed and o/p is displayed in browser

but , when i type: http://localhost:88/perl/ browser displays a blank page

PROBLEM : how to run .pl file in above scenario ?

the code in

print "<html>";
print "<h2>PERL</h2>";
print "this is text";
print "</html>";
share|improve this question

I think you gave us not enough information to properly identify the problem. What is the output of running outside the browser?

share|improve this answer
question is edited to give more info. pls check – Dexter Mar 24 '10 at 9:06

In your Apache config look for "DirectoryIndex". You will need to add to the list of files Apache will serve up if none is specified. Reload or restart Apache for the change to take effect.

share|improve this answer
up vote 0 down vote accepted

this question has programmatic answer point is its not serverfault question instead its stack overflow question

see HERE

you'll know what i mean

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.