[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: ioslave/redirect() question
From: David Faure <david () mandrakesoft ! com>
Date: 2000-09-27 9:54:58
[Download RAW message or body]
On Tue, 26 Sep 2000, aleXXX wrote :
>Hi,
>I have some new stuff on my local disk, it's a new server and ioslave
>for it.
>I would like to redirect listDir("lan://localhost/some_server/HTTP/") to
>something like get("http://some_server").
>Is this possible ?
>Or should I turn the subdir HTTP into a file ?
stat on the lan URL above should return "this is a file".
You can't redirect a listDir to a get.
But if you say it's a file, then the next request on it will be a get.
>Would it then be possible to redirect the
>get("lan://localhost/some_server/HTTP") to get("http://some_server") ?
Yes.
--
David FAURE, david@mandrakesoft.com, faure@kde.org
http://www.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic