Odd Perl problem...


I have some Perl scripts that run under Apache. eg http://www.mydomain/cgi-bin/script.cgi. Sometimes my own scripts do a web call via LWP to a script (on the same server). They have been doing that fine for years, but now, out of the blue, any such scripts get a 403 forbidden error! In fact this gets 403 if run as root:

wget http://www.mydomain/cgi-bin/script.cgi.

Any ideas very much appreciated!

CentOS 7.1 with Virtualmin Pro and Apache 2.4.6

Dang! Figured it out. I had blocked my own IP by htaccess (long story ;-)).

Excellent, glad you got it figured out!