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 19:21:20 GMT
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
> 
> -----Original Message-----
> From: Bill Jones, FCCJ Webmaster <webmaster@fccj.org>
> To: apache-docs@apache.org <apache-docs@apache.org>
> Date: Tuesday, January 05, 1999 1:39 PM
> Subject: Re: Need help adding symlink-like capability to Apache on NT
> 
> 
> >Bret McMillan wrote:
> >>
> >> We've devised a system for using shortcuts like symlinks.  What we need
> to
> >> do is, given a url that may contain "symlinks", we need to internally
> >> resolve that name into a full NT path so that apache works with the
> correct
> >> file/directory.  We have the code for this, but we aren't quite sure what
> >> entry points in the code to work with (started looking at the source
> today).
> >> Can anyone provide some hints?
> >>
> >> Thanks,
> >>
> >> Bret McMillan
> >
> >
> >So, basically, you are saying that everything 'outside' of the
> >DocRoot and/or CGI directories are available to the 'public'?
> >
> >Not sure that is what you want to do...
> >
> >Just thinking out loud...
> >-Sneex-  :]
> >______________________________________________________________________
> >Bill Jones  | FCCJ Webmaster |  http://www.fccj.org/cgi/mail?webmaster
> > http://certserver.pgp.com:11371/pks/lookup?op=get&search=0x37EFC00F
> >
> 
> 


Mime
View raw message