Google Answers Logo
View Question
 
Q: Apache config: DirectoryIndex and ScriptAlias - Can I combine? (Easy Question) ( No Answer,   0 Comments )
Question  
Subject: Apache config: DirectoryIndex and ScriptAlias - Can I combine? (Easy Question)
Category: Computers > Internet
Asked by: climbingboulder-ga
List Price: $5.00
Posted: 23 Mar 2003 19:57 PST
Expires: 24 Mar 2003 09:18 PST
Question ID: 180111
What I have:

redhat linux 7.3
apache 1.3.27
virtual host config with

DocumentRoot /www/htdocs/html
ScriptAlias /cgi-bin "/www/htdocs/cgi-bin"
DirectoryIndex index.cgi index.html

What I want to do:

if I hit http://domain.com/, the server returns index.html
If I hit http://domain.com/cgi-bin/index.cgi, I get the output from
index.cgi
However, If I hit http://domain.com/cgi-bin/ , I get a 403 forbidden
error.

Can you combine the ScriptAlias and DirectoryIndex commands?  I can
workaround with a sybmolic link if I have to, but I prefer not to.

To answer the question, either provide me with the info on how to do
this, or prove (probably via url references) that I cannot.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy