Reply to Re: Disable .php handler for a specific browser,

Your name:

Reply:


Posted by shimmyshack on 06/20/07 17:16

On Jun 20, 5:59 pm, patpro ~ Patrick Proniewski
<pat...@boleskine.patpro.net> wrote:
> In article <1182358276.836460.256...@n60g2000hse.googlegroups.com>,
>
> shimmyshack <matt.fa...@gmail.com> wrote:
> > <IfModule dav_module>
> > <IfModule dav_fs_module>
> > <IfModule setenvif_module>
> > <IfModule authn_file_module>
> > DavLockDB "/path/to/tmp/DavLock"
> > Alias /webdav "/path/to/your/files"
>
> > <Directory "/path/to/your/files">
> > Dav On
>
> ../..
>
> I think I would rather write <Location /webdav> instead of <Directory
> "/path/to/your/files">, and embed a "AddType text/html .php" into
> the <Location> block.
>
you could use
RemoveHandler .php
and so on for other types.

> And, by the way, in that context, i don't see the point of using a
> "<LimitExcept GET HEAD OPTIONS>" block to ask for authentication.
>

i think it's so that browsers can see the content without being asked
for credentials, whereas any agent which tries to use other verbs will
be required to authenticate. but explain your objection - I have been
wrong before!!!

> patpro
>
> --http://www.patpro.net/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация