On Tue, Apr 10, 2018 at 3:24 PM, Mischa wrote:
> Is there a way to serve both static and dynamic content, eg. index.html and
> index.php within the same server { } definition?
> I am looking for something like:
>
> server "default" {
> listen on $ext_addr port 80
> root "/htdocs"
> di
> On 11 Apr 2018, at 22:53, Tom Smyth wrote:
>
> Mischa
> Hows it going ?
> have you tried index.* for both html and php index support ?
>
> I have been bailed out by the * before on php apps with seo friendly urls
Hey Tom!
Doing well man... looking forward to see you again at EuroBSD!
Not su
Mischa
Hows it going ?
have you tried index.* for both html and php index support ?
I have been bailed out by the * before on php apps with seo friendly urls
On Wed 11 Apr 2018, 21:50 Mischa, wrote:
>
> > On 11 Apr 2018, at 22:40, Bryan Harris wrote:
> >
> > I'll ask a dumb question. Why do y
> On 11 Apr 2018, at 22:40, Bryan Harris wrote:
>
> I'll ask a dumb question. Why do you need extra root directives? Can't you
> do this?
>
> location "^/phpapp/*" {
> directory index "index.php"
> }
> location "*.php" {
> fastcgi socket "/run/php-fmp.sock
> }
>
> Bryan
>
Not a dumb questi
I'll ask a dumb question. Why do you need extra root directives? Can't you
do this?
location "^/phpapp/*" {
directory index "index.php"
}
location "*.php" {
fastcgi socket "/run/php-fmp.sock
}
Bryan
On Wed, Apr 11, 2018 at 10:32 AM, Mischa wrote:
> > On 11 Apr 2018, at 12:14, Gregory Ediga
> On 11 Apr 2018, at 12:14, Gregory Edigarov wrote:
>
> On 11.04.18 11:40, Mischa wrote
>> Ok, good to know. It doesn't work as written. The only thing I see in the
>> error.log is the fact that the PHP script is not found.
>>
>> Access to the script '/htdocs/s/' has been denied (see
>> securi
On 11.04.18 11:40, Mischa wrote
Ok, good to know. It doesn't work as written. The only thing I see in the
error.log is the fact that the PHP script is not found.
Access to the script '/htdocs/s/' has been denied (see
security.limit_extensions)
Which tells me index.php is not requested.
Bro
> On 11 Apr 2018, at 10:00, Gregory Edigarov wrote:
>
> On 10.04.18 22:24, Mischa wrote:
>> Hi All,
>>
>> Is there a way to serve both static and dynamic content, eg. index.html and
>> index.php within the same server { } definition?
>> I am looking for something like:
>>
>> server "default" {
On 10.04.18 22:24, Mischa wrote:
Hi All,
Is there a way to serve both static and dynamic content, eg. index.html and
index.php within the same server { } definition?
I am looking for something like:
server "default" {
listen on $ext_addr port 80
root "/htdocs"
directory index "i
9 matches
Mail list logo