|
Posted by patpro ~ Patrick Proniewski on 06/20/07 15:04
In article <1182351161.144092.102030@q69g2000hsb.googlegroups.com>,
ZeldorBlat <zeldorblat@gmail.com> wrote:
> On Jun 20, 10:50 am, Laurent ARNAL <laur...@clae.net> wrote:
> > Hi,
> >
> > I would like to know if there is a way to remove/disable .php handler
> > when the request come from a specific Browser.
> >
> > I ask this because I use dreamweaver / webdav to edit my .php files.
> > But when I try to open the .php file in dreamweaver, what I see if the
> > result of the .php executions, not the .php source files.
> >
> > I know that you can create an Alias location "/dav", and disable the
> > .php handler for this location. It's a solution, but not the best I
> > think. It would be better if we can disable .php runtime where
> > dreamweaver Get the files.
> >
> > Laurent.
>
> So what would happen when I go to your website using Dreamweaver?
> Should I be able to see all your PHP code?
sounds great ;)
What you should do is setup an https webdav repository in an apache
alias directory, and disable php parsing for this alias. This is the
only secure way to do what you want.
patpro
--
http://www.patpro.net/
[Back to original message]
|