- From: Patrick Stickler <patrick.stickler@nokia.com>
- Date: Fri, 12 Mar 2004 12:48:27 +0200
- To: "ext David Menendez" <zednenem@psualum.com>
- Cc: ext Sandro Hawke <sandro@w3.org>, www-rdf-interest@w3.org, ext Dirk-Willem van Gulik <dirkx@asemantics.com>, David Powell <djpowell@djpowell.net>
Very cool! Thanks. I'll have to try that.
Cheers,
Patrick
(gee, now that doesn't seem all too painful, eh? ;-)
On Mar 12, 2004, at 04:48, ext David Menendez wrote:
>
> Patrick Stickler writes:
>
>> You could also implement URIQA using a proxy, where the actual
>> web server is behind the proxy and for URIQA requests, the
>> proxy redirects to a particular service portal (e.g. such
>> as http://sw.nokia.com/uriqa?) and all other requests are
>> passed through unchanged.
>
> I think you could do it on a single (Apache) server with mod_rewrite. I
> haven't tried it myself, but maybe something like:
>
> RewriteCond %{REQUEST_METHOD} =MGET
> RewriteRule ^(/resource.*)$ /uriqa?=$1
>
> which should redirect all MGETs to resources whose path start with
> "/resource" to a CGI. I'm sure mod_rewrite allows a way to do that for
> any arbitrary URI.
> --
> David Menendez <zednenem@psualum.com> <http://www.eyrie.org/~zednenem/>
>
>
--
Patrick Stickler
Nokia, Finland
patrick.stickler@nokia.com
Received on Friday, 12 March 2004 05:48:58 UTC