<html><div style='background-color:'><P>Hi all,</P>
<P>I am trying to build a REST web service using the Net API. I have done the following:</P>
<P>1) enabled the rewrite module in the httpd.conf file</P>
<P>2) the output_buffering in my php.ini was already set to 4096 and I did not change it</P>
<P>3) changed the RewriteBase to <FONT size=2>/rdf_api/netapi/ in the .htaccess file (the complete path is C:\Luigi\Apache\Apache2\htdocs\rdf_api\netapi)</FONT><BR>4) changed the modelmap array to add a model stored in a file to <FONT size=2></P>
<P>"foaf" => "file:/rdf_api/netapi/foaf.rdf"</P>
<P>5) copied the file foaf.rdf into C:\Luigi\Apache\Apache2\htdocs\rdf_api\netapi</P>
<P>After all these settings I tried to download the model pointing the browser to the uri: <A href="http://localhost/rdf_api/netapi/foaf">http://localhost/rdf_api/netapi/foaf</A> but nothing happened. Does someone know whether some setting is wrong ? Thanks</P>
<P>Luigi</FONT><BR><BR></P>
<DIV>
<P><FONT color=#0033cc>Luigi Selmi</FONT></P>
<P><FONT color=#0033cc>P.zza Roselle, 12 00179 Roma</FONT></P>
<P><FONT color=#0033cc>skype: luigiselmi</FONT></P>
<P><FONT color=#0033cc>yahoochatid: luigi_selmi</FONT></P>
<DIV><FONT color=#0033cc>web1: <A href="http://www.sharesemantics.com">http://www.sharesemantics.com</A></FONT></DIV></DIV></div></html>
|