This isn't really Gentoo related, but my suspicion is that someone here
has seen this and knows the right way to do it.

Here's the deal, I have installed Linux (not Gentoo, sadly) on my Sega
Dreamcast and I compiled the ghttpd webserver on it.  It also has a
broadband adapter in it, so I want to serve out pages from it (just as a
lark).  

BUT, I'd like to front-end this server with an Apache webserver running
on Gentoo.  I think what I need to do this is the ProxyPassReverse
directive in Apache.  What I want to have happen is that whenever anyone
goes to http://www.nerddiary.org/dreamcast that it instead displays
content from the Dreamcast (running on a private IP, let's say
10.1.1.1).  I don't want to do redirection, because I don't want the
outside world to really "touch" the Dreamcast box (except to see it's
web content forwarded to them by the Gentoo box).

To accomplish this, I did the following:
1) I uncommented the lines relating to mod_proxy in
/etc/apache/conf/commonapache.conf
2) In my Vhost.conf, I have this for nerddiary.org
<VirtualHost www.nerddiary.org>
    ...
    ProxyRequests on
    ProxyPassReverse /dreamcast http://10.1.1.1/
</VirtualHost>
3) Restarted Apache.

However, when I got to http://www.nerddiary.org/dreamcast, I get a 404. 
I must be missing something?

Thanks in advance for any help.

--
Shane Hickey : Nerd
http://www.nerddiary.org 
GPG KeyID: 777CBF3F
Key fingerprint: 254F B2AC 9939 C715 278C DA95 4109 9F69 777C BF3F
Listening to: Frank Black and the Catholics - The Black Rider (2)


--
[EMAIL PROTECTED] mailing list

Reply via email to