Re: [users@httpd] Unable to get 403 error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That's what's supposed to happen. It looks for the files in the
DirectoryIndex list, and then issues a 404 when it can't find one.

----- Original Message ----- 
From: <Harish.Chakravarthy@xxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Thursday, December 22, 2005 8:32 PM
Subject: [users@httpd] Unable to get 403 error message


> Hi,
> I am running Apache 2.0.54 (compiled from source) on Solaris 9. Part of my
> virtual host configuration is:
>
> <VirtualHost *:80>
> ServerName my.domain.edu
> DocumentRoot "/my/path/"
> ErrorDocument 500 /errors/500.htm
> ErrorDocument 404 /errors/404.htm
> ErrorDocument 403 /errors/403.htm
> DirectoryIndex index.htm index.html
> ...
> <Directory "/my/path/">
>         Options -Indexes FollowSymLinks MultiViews Includes
> ....
> </Directory>
> </VirtualHost>
> When I access a path like http://my.domain.edu/test/ I get 404 error
> message instead of 403. Here /test is a valid directory without index.htm
> or index.html. Access log also shows 404 error code.
> Is just can't figure out, what is wrong with my configuration, any ideas ?
> -Harish
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux