Hi Luigi,
are there any error messages? Maybe you have to use the complete path in the modelmap array:
"foaf" => "file:/C:/Luigi/Apache/Apache2/htdocs/rdf_api/netapi/foaf.rdf".
Let me know if this works.
Regards,
Tobias
> Hi all,
> I am trying to build a REST web service using the Net API. I have done
> the following:
>
> 1) enabled the rewrite module in the httpd.conf file
>
> 2) the output_buffering in my php.ini was already set to 4096 and I
> did not change it
>
> 3) changed the RewriteBase to /rdf_api/netapi/ in the .htaccess file
> (the complete path is C:\Luigi\Apache\Apache2\htdocs\rdf_api\netapi)
> 4) changed the modelmap array to add a model stored in a file to
>
> "foaf" => "file:/rdf_api/netapi/foaf.rdf"
>
> 5) copied the file foaf.rdf into
> C:\Luigi\Apache\Apache2\htdocs\rdf_api\netapi
>
> After all these settings I tried to download the model pointing the
> browser to the uri: http://localhost/rdf_api/netapi/foaf but nothing
> happened. Does someone know whether some setting is wrong ? Thanks
>
> Luigi
>
> Luigi Selmi
>
> P.zza Roselle, 12 00179 Roma
>
> skype: luigiselmi
>
> yahoochatid: luigi_selmi
>
> web1: http://www.sharesemantics.com
|