Help please.
BTW, PHP is being processed by PHP-FPM and not apache.
Edit: I just performed the following test
Code: Select all
wget http://localhost/foo.php?foo=http://www.example.com
--2015-02-20 01:28:36-- http://localhost/foo.php?foo=http://www.example.com
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-02-20 01:28:36 ERROR 403: Forbidden.
Here is the result of nginx -V
Code: Select all
nginx -V
nginx version: nginx/1.6.0
TLS SNI support enabled
configure arguments: --prefix=/usr/share --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --user=nginx --group=nginx --with-ipv6 --with-file-aio --with-http_ssl_module --with-http_realip_module --with-http_sub_module --with-http_dav_module --with-http_gzip_static_module --with-http_stub_status_module
Code: Select all
yum list nginx
Loaded plugins: priorities
211 packages excluded due to repository priority protections
Available Packages
nginx.x86_64 1.6.2-23.el6.art atomic