Re: (OT) Virtual map in apache to another computer

2003-03-02 Thread Jamie Lawrence
On Sun, 02 Mar 2003, Willem-Jan Meijer wrote:

 Hello,
 
 A question about apache.
 I want to setup a virtual map on my server (192.168.0.1) wich is running
 apache. The map have to link to my winXP box wich contains my map with mp3's
 winXP computer's IP is 192.168.0.3. Is it possible to setup a directory wich
 contains the files from a map from another computer?


If I'm following you correctly, you seem to want to serve material from
one machine via apache on another. You'll need to export the content
from the windows box - check out Samba for doing that.

Alternately, you may be wanting to proxy connections to a web server on the 
windows machine. Check out mod_proxy.

Hope this helps.

-j




-- 
Jamie Lawrence[EMAIL PROTECTED]
Non-linear physics is like non-elephant biology.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: (OT) Virtual map in apache to another computer

2003-03-02 Thread Willem-Jan Meijer
Not really...it's not for internal use only.
I've got a couple a hundred mp3 files and I want to share them with a friend
of my who lives a few miles away. I can't put them in /var/www because my
hard-disk is to small for all the files. So I want to setup a virtual map. 

Explanation:

Server's outside Ip address:62.163.158.122  Hostname:
Server
Server's local Ip address:  192.168.0.1 
Machine with mp3 his Ip address:192.168.03  Hostname:
Willem-Jan

The server is running apache, squid and samba
The machine with the mp3 files runs Windows XP

This is what I want:

If my friend calls 62.163.158.122/music/ he has to open 
\\WILLEM-JAN\Documenten\Mijn muziek.

It has to be possible, because I did it in Windows XP with IIS before.

I did an apt-cache search mod_proxy but I didn't saw it
Dselect gave me the same result.
I looked at www.apache.org but mod_proxy isn't here.

Kind regards,
Willem-Jan Meijer

-- Alle inkomende en uitgaande e-mail worden gescand op virussen  --
-- All incoming and outgoing e-mail is scanned for virusses --


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: (OT) Virtual map in apache to another computer

2003-03-02 Thread Jamie Lawrence
On Sun, 02 Mar 2003, Willem-Jan Meijer wrote:

 Not really...it's not for internal use only.
 I've got a couple a hundred mp3 files and I want to share them with a friend
 of my who lives a few miles away. I can't put them in /var/www because my
 hard-disk is to small for all the files. So I want to setup a virtual map. 

I assume you are acting in accordance with your local laws.

 This is what I want:
 
 If my friend calls 62.163.158.122/music/ he has to open 
 \\WILLEM-JAN\Documenten\Mijn muziek.
 
 It has to be possible, because I did it in Windows XP with IIS before.

If you are running IIS on the win box, you can proxy it with mod_proxy
through your apache server.
 
 I did an apt-cache search mod_proxy but I didn't saw it
 Dselect gave me the same result.
 I looked at www.apache.org but mod_proxy isn't here.

It is usually distributed with the rest of Apache. For docs, see

http://httpd.apache.org/docs/mod/mod_proxy.html .

Alternately, as I mentioned, you can export your Windows directory (I'm
not very familiar with XP; you'll have to figure that out for yourself),
mount it on your Apache box using Samba/smbmount. After the XP permissions 
are correct, it will be something like 

   mount -o username=user,password=pass -t smb //WILLEM-JAN/Documenten/Mijn Musziek 
/path/to/mount/point

then create an alias in your Apache config, something like

  Alias /music /path/to/mount/point

Good luck.


-j


-- 
Jamie Lawrence[EMAIL PROTECTED]
Cross platform apps are like unisex underwear.
 - Unknown


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]