On 12/4/06, Vincen <mailing@xxxxxxxxxx> wrote:
> Hi,
> I need some clarifications about what's wrong with my configuration.
> I did the following:
>
> <VirtualHost *:90>
> DocumentRoot /var/www/web/vincen/web
> ServerName vincen.hostinpeace.com
> </VirtualHost>
>
> <Directory /var/www/web/vincen>
> AllowOverride None
> Options None
> DAV On
> AuthName "iTools"
> AuthType Basic
> AuthDigestDomain "/"
> AuthUserFile vincen.passwd
> <LimitExcept GET HEAD OPTIONS>
> Require valid-user
> </LimitExcept>
> </Directory>
>
> My goal is to get web access to /var/www/web/vincen/web without
> authentification, and webdav connections goes to /var/www/web/vincen
> but each time I connect to server in Webdav mode it goes directly in /
> var/www/web/vincen/web :(
> I don't understand what's wrong !
Perhaps you need to read
http://httpd.apache.org/docs/2.2/urlmapping.html
With your DocumentRoot set to /var/www/web/vincen/web, that directory
(and its subdirectories) are the only ones accessible from the web,
whether you use a regular client or webdav. If you want to make
/var/www/web/vincen accessible from the web (for webdav only), then
you need to use an Alias or a new VirtualHost with that directory as
its DocumentRoot.
Joshua.
---------------------------------------------------------------------
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