index.html page shows up everytime no matter what i do?

This is a discussion on index.html page shows up everytime no matter what i do? within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi, I am very new to CGI Perl and Apache. I want to run a script present in cgi-bin ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-19-2005
shilparvind@gmail.com
 
Posts: n/a
Default index.html page shows up everytime no matter what i do?

Hi,

I am very new to CGI Perl and Apache. I want to run a script present in
cgi-bin directory but the browser is opening up the index.html page
present in /var/www/html directory.

My DocumentRoot is pointing to /var/www/html
My cgi-bin is in /var/www/cgi-bin

I have written an index.html and its in /var/www/html. If i remove
index.html and execute http://localhost/cgi-bin/hello.cgi the browser
will show up "TestPage" and the logs directory has this error:

[Wed Oct 19 10:14:27 2005] [error] [client 10.1.100.170] Directory
index forbidden by rule: /var/www/html/

If i include index.html then i dont get any error but the browser
outputs the index.html result.

I dont know what changes my httpd.conf file requires. I am stuck at
this from past 2 days, please help me.

Regards
Shilpa

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:23 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0