Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: CGI script connecting via terminal but not via browser

by nkrgupta (Novice)
on Sep 18, 2012 at 13:27 UTC ( #994286=note: print w/replies, xml ) Need Help??


in reply to Re^2: CGI script connecting via terminal but not via browser
in thread CGI script connecting via terminal but not via browser

Fixed it! It was indeed a selinux issue, which by default was preventing httpd to establish network connections.

Had to run the following command to allow it to do so

setsebool -P httpd_can_network_connect=1

Once again, thanks a lot moritz. I thought it might have to do with security settings, just didn't know where to look!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994286]
help
Chatterbox?
[RonW]: RPerl is only a curiosity to me. I can see where some one who primarily codes in Perl might find RPerl useful, but to me, given the choice between RPerl's restrictions and C, I'd choose C
[LanX]: Rperl had better chances as alternative for inline::cpp
[LanX]: thus optimizing inner loops
[LanX]: .... well

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-05-22 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?