[Techtalk] access to intranet over ssh?
kclair
kclair at gmail.com
Sat Oct 23 05:38:59 EST 2004
Do you have permission to write to a .htaccess file on the webserver?
Also what version of apache is the webserver using?
On Fri, 22 Oct 2004 16:11:25 +0100 (BST), Caroline Johnston
<johnston at biochemistry.ucl.ac.uk> wrote:
> I don't have permissions to change httpd.conf on the webserver. I can only
> change stuff on my own machine. Does this mean this isn't an option?
>
> Cxx
>
>
>
> > mod_proxy is how I would do it. Basically it would involve two things:
> > 1. the server in the network would need to be running a webserver
> > 2. you would need to use mod_proxy to have the outside requests be
> > proxied to the internal webserver. i have only used mod_proxy with
> > the most basic scenario (much like yours). this is what the
> > implementation on the outside webserver looks like, in httpd.conf:
> >
> > ProxyRequests On
> > ProxyPass /cgi-scripts http://192.168.1.7/cgi-scripts
> > ProxyPassReverse /cgi-scripts http://192.168.1.7/cgi-scripts
> >
> > the first "/cgi-scripts" parts tells the webserver that any requests
> > http://yourwebserver/cgi-scripts get s proxied. the second part tells
> > mod_proxy to proxy those requests to the url that you specify.
> >
> > the internal webserver would of course need a /cgi-scripts directory
> > where all the scripts are located, and it would have to be properly
> > configured in httpd.conf, etc.
> >
> > I know that there are fancier things you can do with mod_proxy, and
> > even with mod_rewrite...
> >
> > hope that helps!
> > kristina
> >
> > On Fri, 22 Oct 2004 15:17:00 +0100 (BST), Caroline Johnston
> > <johnston at biochemistry.ucl.ac.uk> wrote:
> > > Hi list,
> > >
> > > I have some cgi scripts on my machine at work (RH9). What is the best way
> > > to get access to these from outside?
> > >
> > > I have vnc tunnelled over ssh, so I can just run a browser on the work
> > > machine, but it's kinda slow.
> > >
> > > I thought it would be possible to get my browser to tunnel requests
> > > through ssh, but I'm having problems getting it working. I'm using putty
> > > on WinXP and, following the advice of various webpages (and not entirely
> > > understanding what I'm doing) have set up a connection to a machine I have
> > > access to at work and got it to forward stuff to my_machine:80 from local
> > > port XXXX. Now I can access some pages via
> > > http://localhost::XXXX/cgi-bin/blah.pl
> > >
> > > The problem is that if any of the scripts use full urls in links etc,
> > > these pages get accessed directly instead of through the tunnel and it
> > > breaks. I guess I could go and make all the links relative in all my
> > > scripts but there must be a better way of solving this? Googling just gave
> > > me a vague idea that I needed to do something involving proxy servers and
> > > my browser, but at this point my tenuous grip on networks, servers and
> > > port forwarding finally snapped and I have no idea how to make this work.
> > > Could anyone explain it to me in technology-illiterate-biologist terms?
> > > Or point me to an easy to understand how-to?
> > >
> > > Many thanks,
> > >
> > > Cass
> > >
> > > _______________________________________________
> > > Techtalk mailing list
> > > Techtalk at linuxchix.org
> > > http://mailman.linuxchix.org/mailman/listinfo/techtalk
> > >
> >
>
>
More information about the Techtalk
mailing list