Hi Phil,<div><br></div><div>I was able to successfully configure the tomcat 6 and apache so that now localhost/geoserver or localhost:8080/geoserver both open the Geoserver admin page.</div><div><br></div><div>I thought now I will be able to open the WFS, but I am still getting the error. I felt that I should use CORS but I am not sure how I should configure it. I am using the <a href="http://www.gistutor.com/geoserver/21-intermediate-geoserver-tutorials/38-configuring-geoserver-proxy-for-public-and-remote-data-access.html">following tutorial</a>. It tells me that once I was able to configure tomcat and apache, I should configure the proxy.</div>
<div><br></div><div>I am not sure now, should I go with CORS or with proxy. One of the forums said the proxy is a decade old technology and I should go with CORS. Also the configuration in the tutorial link is for RedHat or rpm based Linux. I am on Ubuntu and so the cgi-bin folder in /var/www is not present in Ubuntu.</div>
<div><br></div><div>I know you are not working with proxy.cgi but I was hoping you knew how I can find the cgi-bin file in Ubuntu.</div><div><br></div><div>Thanks & Regards,</div><div>Smaran Harihar</div><div><br><div class="gmail_quote">
On Wed, May 16, 2012 at 4:11 PM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
<blockquote type="cite">
<div><br>
</div>
<div>
<pre style="overflow:auto;line-height:15px"><font size="4">OpenLayers.ProxyHost = <span style="color:rgb(0,170,0);background-color:inherit">"/cgi-bin/proxy.cgi?url="</span>;</font></pre>
</div>
</blockquote>
<br>
I dont know anything about proxy.cgi. I would assume that you would
have to have apache web server running as well with tomcat linked in
for this to work? (which is why I pointed you at jsp versions
instead).<br>
<br>
I have never done any cgi programming and I have no idea what the
script should be. Perhaps better to post this to list rather than
me. Make you sure you post the proxy.cgi as well.<div class="im"><br>
<br>
<p><span style="font-size:8pt;font-family:'Arial'">Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.</span></p>
<p><span style="font-size:8pt;font-family:'Arial'"> </span></p></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks & Regards<div>Smaran Harihar</div><br>
</div>