httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: Need help adding symlink-like capability to Apache on NT
Date Tue, 05 Jan 1999 20:12:03 GMT
Oh maybe it doesn't let you rewrite to filenames.  I was pretty sure it
did.

Dean

On Tue, 5 Jan 1999, Bret McMillan wrote:

> I'm looking at http://www.engelschall.com/pw/apache/rewriteguide/#ToC4 right
> now, at the bottom for an external rewriting engine...
> 
> wouldn't this take "http://www.server.com/foo/HelloWorld.html" and then just
> basically ask apache to find a document "http://www.server.com/..\..\[as
> many as needed to get to root dir]/bret/HelloWorld.html" ?
> Wouldn't that open a large security hole?
> 
> Bret
> 
> -----Original Message-----
> From: Dean Gaudet <dgaudet@arctic.org>
> To: apache-docs@apache.org <apache-docs@apache.org>
> Date: Tuesday, January 05, 1999 2:10 PM
> Subject: Re: Need help adding symlink-like capability to Apache on NT
> 
> 
> >Read the docs for mod_rewrite.  If you really want to invoke an external
> >program to do the mappings it's trivial, you don't need to change the code
> >at all.  In any event, what you want can be done in a module, you don't
> >need to patch the core.
> >
> >Dean
> >
> >On Tue, 5 Jan 1999, Bret McMillan wrote:
> >
> >> You have a valid concern...  let me explain a bit more.  Right now,
> >> shortcuts are used in place of symlinks.
> >> If you had a "foo" symlink on the linux version, on the nt version it is
> >> represented by "foo.lnk".  These shortcut files are created at install
> time.
> >>
> >> Assume foo.lnk exists in your httpdoc directory.  Assume foo.lnk links to
> >> C:\Bret\, in which HelloWord.html exists.
> >>
> >> What I want to happen is for a url request of
> >> "http://www.server.com/foo/HelloWorld.html" displays the contents of
> >> HelloWorld.html.
> >>
> >> We have an executable program that will do this:
> >>
> >> Commandline:  "slink foo/HelloWorld.html"
> >> Cout's:  "/bret/HelloWorld.html"
> >>
> >> So that part is essentially done.  What we're trying to figure out is
> where
> >> to integrate that into apache's code.
> >>
> >> Thanks for any and all info,
> >>
> >> Bret
> 
> 
> 


Mime
View raw message