Wednesday, May 30, 2018

Re: httpd index directive confusion

On Wed, 30 May 2018, Markus Rosjat wrote:

> > > location "/admin/*" {
> > > root "/path/to/my/site/admin"
> > > root strip 1
> > > directory index index.php
> > >
> > > fastcgi socket "/run/php-fpm.sock"
> > >
> > > authenticate with "/users/me/mysite_passwd"
> > > }
> >
> > have you tried to put "index.php" (in double quotes) ?
> > I may be wrong, but I think I had a similar issue in the past.
> >
> > Cheers,
> > Paco.
> >
>
> I tried both it didn't help.

in fact, both are correct. just tested it.
I imagine there's some sort of problem with the fcgi config maybe.

Cheers,
Paco.

--
Paco Esteban.
GnuPG key: https://onna.be/44CA735E.html

No comments:

Post a Comment