Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

DirectoryIndex Directive Ignored

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  mod_deflate, bugg?  
Author Message
bnaz

External


Since: May 12, 2004
Posts: 3



(Msg. 1) Posted: Wed May 12, 2004 1:53 pm
Post subject: DirectoryIndex Directive Ignored
Archived from groups: alt>apache>configuration (more info?)

I have a virtual host set up like this -:

<VirtualHost xx.xxx.xx.xx:80>
ServerName rt.example.com
DocumentRoot /opt/rt3/share/html
<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>
PerlModule Apache2 Apache::compat
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

<Location />
SetHandler perl-script
PerlHandler RT::Mason
AllowOverride All
Options FollowSymLinks
AuthType Basic
AuthName "Request Tracker"
AuthLDAPUrl
"ldap://stpct1:389/dc=example,dc=com?sAMAccountName?sub?(objectCategory=pers
on)(objectClass=user)"
AuthLDAPBindDN "user"
AuthLDAPBindPassword "password"
#AuthLDAPAuthorative off
require valid-user
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Location>

</VirtualHost>

In the root of this site is an index.html file, however it does not get
displayed from the url http://rt/ i have to manually add index.html onto the
end. Why is my DirectoryIndex directive being ignored.

Regards

 >> Stay informed about: DirectoryIndex Directive Ignored 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Wed May 12, 2004 1:53 pm
Post subject: Re: DirectoryIndex Directive Ignored [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

BNAZ <BNAZ DeleteThis @nufc.com> wrote:
 > In the root of this site is an index.html file, however it does not get
 > displayed from the url <a style='text-decoration: underline;' href="http://rt/" target="_blank">http://rt/</a> i have to manually add index.html onto the
 > end. Why is my DirectoryIndex directive being ignored.
 > <IfModule mod_dir.c>
 > DirectoryIndex index.html
 > </IfModule>

And what if you remove this block completely?

 > <Location />

I think there is "/" too much here.

Davide

--
| Every time I think I know where it's at, they move it.
|
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: DirectoryIndex Directive Ignored 
Back to top
Login to vote
bnaz

External


Since: May 12, 2004
Posts: 3



(Msg. 3) Posted: Wed May 12, 2004 2:23 pm
Post subject: Re: DirectoryIndex Directive Ignored [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Then apache complains of an error, AllowOverride not allowed here.



"Davide Bianchi" <davideyeahsure.DeleteThis@onlyforfun.net> wrote in message
news:2gec3dF1oaocU1@uni-berlin.de...
 > BNAZ <BNAZ.DeleteThis@nufc.com> wrote:
  > > In the root of this site is an index.html file, however it does not get
  > > displayed from the url <a style='text-decoration: underline;' href="http://rt/" target="_blank">http://rt/</a> i have to manually add index.html onto
the
  > > end. Why is my DirectoryIndex directive being ignored.
  > > <IfModule mod_dir.c>
  > > DirectoryIndex index.html
  > > </IfModule>
 >
 > And what if you remove this block completely?
 >
  > > <Location />
 >
 > I think there is "/" too much here.
 >
 > Davide
 >
 > --
 > | Every time I think I know where it's at, they move it.
 > |
 > |
 > |<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: DirectoryIndex Directive Ignored 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Wed May 12, 2004 2:23 pm
Post subject: Re: DirectoryIndex Directive Ignored [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

BNAZ <BNAZ.RemoveThis@nufc.com> wrote:
 > Then apache complains of an error, AllowOverride not allowed here.

No, I wasn't talking about the <Location> block, I was talking
about the <IfModule> block.
Davide

--
| Boob's Law: You always find something in the last place you look.
|
|
|<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: DirectoryIndex Directive Ignored 
Back to top
Login to vote
bnaz

External


Since: May 12, 2004
Posts: 3



(Msg. 5) Posted: Wed May 12, 2004 3:33 pm
Post subject: Re: DirectoryIndex Directive Ignored [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Oh right!!

Nah it is still the same


"Davide Bianchi" <davideyeahsure.DeleteThis@onlyforfun.net> wrote in message
news:2geebnF1seejU4@uni-berlin.de...
 > BNAZ <BNAZ.DeleteThis@nufc.com> wrote:
  > > Then apache complains of an error, AllowOverride not allowed here.
 >
 > No, I wasn't talking about the <Location> block, I was talking
 > about the <IfModule> block.
 > Davide
 >
 > --
 > | Boob's Law: You always find something in the last place you look.
 > |
 > |
 > |<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: DirectoryIndex Directive Ignored 
Back to top
Login to vote
user2772

External


Since: May 08, 2004
Posts: 3



(Msg. 6) Posted: Wed May 12, 2004 4:54 pm
Post subject: Re: DirectoryIndex Directive Ignored [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 12 May 2004 12:33:10 +0100, BNAZ wrote:

 > Oh right!!
 >
 > Nah it is still the same

What does "apachectl configtest" have to say...?

--
mvh/regards
Joachim Mæland

If everything seems under control, you're just not going fast enough.
-Mario Andretti<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: DirectoryIndex Directive Ignored 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How do I use the Win32DisableAcceptEx directive please? - I have installed Apache 2.0.49 on Windows XPpro. It runs but throws an error when I try to access http://myPCName/ . The error log suggests I use the Win32DisableAcceptEx directive. I assume that this goes in the config file but I have not been able....

Alias directive - When I use an alias directive in httpd.conf such as: Alias /mp3 "d:/Media/Music" .... should I also have a suitable Directoty directive, suchs as: <Directory "d:/Media/Music"> Options All Order allow,deny Allow fr...

Problems with HeaderName Directive - Hi there! I'm trying to get this working, but the log file always complains it cannot find my specified file. I used a leading / so it should be relative to the document root. So if I use /header.htm and the document root is /usr/local/www/test then....

VirtualHost Optoins Directive - Is the following valid? I've got a web site on a shared, hosted server running Apache 1.13.29. The admin has set the server up so that server-wide directory indexes are on. He won't change the configuration, and I don't expect him to if it impacts..

Cache-control directive - I have a small server side include on my static pages that we use to log visits to the site. A couple of months ago the number of visitor sessions from the web logs (using webtrends) carried on at about the same rate, but the number recored by my Server...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]