Re: [users@httpd] Indexing outside of DocumentRoot and Directory

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

 



Boyle Owen wrote:
-----Original Message-----
From: Nick Kew [mailto:nick@xxxxxxxxxxxx] Sent: Friday, August 18, 2006 11:37 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Indexing outside of DocumentRoot and Directory

On Friday 18 August 2006 02:33, LDB wrote:


[Thu Aug 17 03:50:51 2006] [error] [client xxx.xxx.xxx.xxx] Attempt to serve directory: /srv/www/readit/

It happens on a 'ScriptAlias'ed directory. I suspect other uses of mod_alias/mod_rewrite might be able to trigger it.


Aha! that explains a lot... I looked at the message in the code but
couldn't easily see what would trigger it.

To the OP> You must have "ScriptAlias" set for this directory or a
parent - maybe somewhere in your webdav config?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.

I wasn't watching when you first posted ... probably I ignored it
because the subject looked uninteresting and you already had replies.

--
Nick Kew

---------------------------------------------------------------------
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


This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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



So I cannot have both /readit for WebDAV and for viewing?

DocumentRoot "/srv/www/webroot"

Alias /readit /srv/www/readit
<Directory "/srv/www/readit">
        Options FollowSymLinks Indexes
        AllowOverride None
        Order Allow,Deny
        Allow from all
</Directory>

.
.
.
.
.
.

<Location /readit>
        Dav On

        SetHandler server-status

        AuthType Basic
        AuthName DAV
        AuthUserFile /var/apache/passwd
        DavMinTimeout 600
        DavDepthInfinity off

        <LimitExcept GET OPTIONS>
                require user fred
        </LimitExcept>
</Location>



---------------------------------------------------------------------
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