Welcome! Log In Create A New Profile

Advanced

Re: HTML as PHP

April 17, 2012 07:12PM
On Tue, 2012-04-17 at 15:56 -0700, Cliff Wells wrote:
> On Wed, 2012-04-18 at 00:17 +0200, Silvio Siefke wrote:
>
> > location ~ /\.ht {
> > deny all;
> > }
>
> This also matches .html files. Try making your regex more explicit.

My mistake, it doesn't. Check these:

1) file/directory permissions are correct
2) is the php app is setting the status to 403?

Regards,
Cliff

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

HTML as PHP

Silvio Siefke April 17, 2012 06:18PM

Re: HTML as PHP

Cliff Wells April 17, 2012 06:58PM

Re: HTML as PHP

siefke_listen@web.de April 17, 2012 07:04PM

Re: HTML as PHP

Cliff Wells April 17, 2012 07:14PM

Re: HTML as PHP

siefke_listen@web.de April 17, 2012 07:20PM

Re: HTML as PHP

Cliff Wells April 17, 2012 07:12PM

Re: HTML as PHP

siefke_listen@web.de April 17, 2012 07:28PM

Re: HTML as PHP

Silvio Siefke April 29, 2012 01:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready