Re: httpd index directive confusion

2018-06-03 Thread Michael Hekeler
Am Wed, 30 May 2018 12:32:31 +0200 schrieb Markus Rosjat : > Hi there, > > i hope someone can sort this out for me but I dont get it. I get a > nice "Primary Script unknown" message when I try to reach a defined > location. > > I try reach https://UrlToMySite.tld/admin/ and in thsi location

Re: httpd index directive confusion

2018-05-30 Thread Paco Esteban
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 wi

Re: httpd index directive confusion

2018-05-30 Thread Markus Rosjat
hi Paco, Am 30.05.2018 um 13:31 schrieb Paco Esteban: On Wed, 30 May 2018, Markus Rosjat wrote: so I Configure my Location in httpd.conf like this location "/admin/*" { root "/path/to/my/site/admin" root strip 1 directory index index.php fa

Re: httpd index directive confusion

2018-05-30 Thread Paco Esteban
On Wed, 30 May 2018, Markus Rosjat wrote: > so I Configure my Location in httpd.conf like this > > location "/admin/*" { > root "/path/to/my/site/admin" > root strip 1 > directory index index.php > > fastcgi socket "/run/php-fpm.sock" > >

httpd index directive confusion

2018-05-30 Thread Markus Rosjat
Hi there, i hope someone can sort this out for me but I dont get it. I get a nice "Primary Script unknown" message when I try to reach a defined location. I try reach https://UrlToMySite.tld/admin/ and in thsi location is a index.php file so I Configure my Location in httpd.conf like this