Hello and thank you for the help. I've confirmed that SELinux is not running, and that the apache user can open a remote connection to your website in python. I still get the 500 Internal Server Error. I've installed Tile Cache on two hosts here, both above and below the cgi-bin directory, and with various owner, group, and permission combinations. Still no luck.<br>
<br>I did find one post with the exact same problem at:<br><a href="http://www.nabble.com/Help-with-tilecache.cgi-unusual-error-to17066959.html#a17069463">http://www.nabble.com/Help-with-tilecache.cgi-unusual-error-to17066959.html#a17069463</a><br>
<br>but his solution was to lock down permissions to 711. I've tried this as well and still receive the 500 error after four minutes of waiting for a response from the server. My own test CGI scripts in the tilecache-2.01 directory run fine. Any other suggestions?<br>
<br>Thank you.<br><br><br> Sounds like you're getting an Apache timeout (probably 300s, the<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
default). This probably means that, as the apache user, you are unable<br>
to open a remote connectino to <a href="http://labs.metacarta.com" target="_blank">labs.metacarta.com</a>. You may be able to<br>
test this by running 'python' as the apache user, and then:<br>
<br>
"""<br>
import urllib<br>
urllib.urlopen("<a href="http://labs.metacarta.com/" target="_blank">http://labs.metacarta.com/</a>").read()<br>
"""<br>
<br>
You may see an error. You may not see anything. Getting that working is<br>
a first step. If that works, there may be something else preventing it<br>
from working in CGI mode.<br>
<br>
If you have SELinux, this may be related to having that on.<br>
</blockquote></div><br>