Ah.  How you need to do this is to add another section:

<Directory /usr/local/sambit>
DirectoryIndex index.html index.htm
</Directory>

This is because the existing DirectoryIndex for your documentroot doesn't
cover /usr/local/sambit.

---
Mat Butler, Winged Wolf                       <[EMAIL PROTECTED]>
SPASTIC Web Engineer                  SPASTIC Server Administrator
----Begin FurryCode v1.3----
FCWw5amrsw A- C+ D H+++ M+++++[servercoder] P+ R++ T+++ W Z++ Sm++ 
RLCT/M*/LW* a cl/u/v++++>+++++ !d e- f>++++ h++ iwf+++ j p->+ sm++
----End FurryCode v1.3----


On Fri, 16 Jun 2000, Sambit Nanda wrote:

> Hi Thanks All
>     That worked for me but each there any idea how to
> solve the problem using mod_rewrite 
> 
> Thanks
> 
> Sambit 
> 
> Last Ref. mail  : -- 
>  Hi All
> >     i am using Apache 1.312 with SSL on Solaris
> > server
> > 
> > 
> > my problem is my webserver for example
> > https://xyz.com
> > which document root is /usr/local/apache/htdocs  i
> > made a directory on location /usr/local named
> > "sambit"
> > where i put one more index.html for a different page
> > and on httpd.conf i define Alias /test
> > "/usr/local/sambit"  when i am  writing page like
> > https://xyz.com/test/index.html it works but if i
> > just
> > say https://xyz.com/test i am getting all the file
> > and
> > directory index on my web page what i donot want. i
> > tried with 
> >          RewriteEngine on
> >          RewriteBase /test
> >          rewriteRule ^/$ index.htm 
> > 
> > with the idea when i will do https://xyz.com/test it
> > will take me to https://xyz.com/test/index.html 
> > 
> > but i failed on my experiment  i need some idea and
> > help how to do  solve it
> > 
> > thanks
> > 
> > Sambit
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Photos -- now, 100 FREE prints!
> > http://photos.yahoo.com
> >
> ______________________________________________________________________
> > Apache Interface to OpenSSL (mod_ssl)               
> >    www.modssl.org
> > User Support Mailing List                     
> > [EMAIL PROTECTED]
> > Automated List Manager                           
> [EMAIL PROTECTED]
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages with Yahoo! Messenger.
> http://im.yahoo.com/
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]
> 

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to