February 22, 2016 06:46AM

I want a PHP file to have the extension of .xml but when i do the below when accessing the php file via web browser i get a access denied.

location ~ ^(.+\.xml)(/.*)?$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi.conf;

do i need to add anything like allow or something to this block?
Subject Author Posted

.XML running PHP getting 403

txt3rob February 22, 2016 06:46AM

Re: .XML running PHP getting 403

Jim Ohlstein February 22, 2016 08:10AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 57
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready