Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th May 2006, 01:26 PM
xequtor Offline
Registered User
 
Join Date: May 2006
Posts: 2
CGI-based proxy problem (nph-proxy.cgi), Apache?

Hello,

I have a problem to run my CGI-proxy, nph-proxy.cgi (http://www.jmarshall.com/tools/cgiproxy)
I can start it and can see the page where I can type the URL but then I get
"CGIProxy Error
Couldn't find address for www.google.com:"
its not just google but any URL, I have the same problem on 2 servers with FC5, on my suse 10.1 works fine and is on the same machine that FC5. All network settings are fine, I can wget and Lynx works fine.
Is it some Apache mod?

I use FC5 and CGIProxy 2.1beta11 and 2.0.1

Does anyone have a idea?

P.S. Sorry for Crossposting
Reply With Quote
  #2  
Old 29th May 2006, 11:29 PM
kanarip Offline
Registered User
 
Join Date: May 2006
Location: Utrecht, The Netherlands
Age: 29
Posts: 3
I'm unable to locate a Fedora Core RPM package for CGIProxy, is this supported?
Reply With Quote
  #3  
Old 29th May 2006, 11:32 PM
icydog Offline
Registered User
 
Join Date: Nov 2005
Posts: 447
Run system-config-securitylevel, click the SELinux tab, HTTPD Service, and check these:

Allow HTTPD cgi support
Allow HTTPD scripts and modules to connect to the network

(maybe others? but those two for sure)

I hope that fixes it.
Reply With Quote
  #4  
Old 14th June 2006, 12:16 AM
jakes01 Offline
Registered User
 
Join Date: Jun 2006
Posts: 1
hmm

Hey,

i have the exact same problem if i use a full url when i tried using an ip address i got a cgi proxy socket permission error, so i tried disabling selinux and it worked, the cgi proxy is working normally now.

any ideas how i can make the selinux configuration modifications via the terminal? i dont have vnc on my server only ssh

thanks

jakes
Reply With Quote
  #5  
Old 5th August 2006, 09:24 PM
coolbeansdude51 Offline
Registered User
 
Join Date: Jun 2006
Posts: 35
Quote:
Originally Posted by icydog
Run system-config-securitylevel, click the SELinux tab, HTTPD Service, and check these:

Allow HTTPD cgi support
Allow HTTPD scripts and modules to connect to the network

(maybe others? but those two for sure)

I hope that fixes it.
That totally fixes the problem. I had the same problem and BLAM its fixed. Thought someone should tell you that it did work. ;-0
Reply With Quote
  #6  
Old 11th September 2007, 10:58 PM
seans11 Offline
Registered User
 
Join Date: Sep 2007
Posts: 1
If you're a command line monkey like me you can use the following commands to check the status and change the booleans if necessary.

Check httpd booleans:
getsebool -a | grep httpd

Look for the values of:
httpd_can_network_connect --> on
httpd_enable_cgi --> on

If either is off:
setsebool <attribute> <true|false>

No need to turn off a good protection mechanism like SELinux.
Reply With Quote
Reply

Tags
apache, cgibased, nphproxycgi, problem, proxy

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum Install Using Proxy based Internet connection sudeep1 Installation and Live Media 4 12th February 2008 08:01 AM
Apache as proxy NorwayFun Servers & Networking 4 15th March 2007 11:34 AM
CGI-based proxy problem (nph-proxy.cgi) xequtor Using Fedora 0 29th May 2006 09:18 AM
Apache proxy timeout? wijszman Servers & Networking 0 25th May 2006 10:58 AM
How to use another proxy while sitting behing proxy majid Servers & Networking 3 19th June 2005 01:59 AM


Current GMT-time: 04:12 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat