Re: [users@httpd] Map URL to directory

2011-10-24 Thread Tom Evans
On Fri, Oct 21, 2011 at 6:53 PM, milan tomic wrote: > > > Pete Houston wrote: >> >> Most likely what you are after is the "Alias" directive. >> > > Yes, Alias is what I need. But it doesn't work for me. I have this case: > > >  DocumentRoot "D:/Dir1/Dir2" > > >  ProxyPass  http://tomcat1/MainPat

Re: [users@httpd] Map URL to directory

2011-10-24 Thread Matus UHLAR - fantomas
Pete Houston wrote: Most likely what you are after is the "Alias" directive. On 21.10.11 10:53, milan tomic wrote: Yes, Alias is what I need. But it doesn't work for me. I have this case: DocumentRoot "D:/Dir1/Dir2" ProxyPass http://tomcat1/MainPath/App1 Alias /MainPath/AL "D:\Dir3\Di

Re: [users@httpd] Map URL to directory

2011-10-21 Thread milan tomic
Documentation says: "Note however sections are run through once before aliases are performed, so they will apply." but it doesn say how to fix it :( What should I use instead? -- View this message in context: http://old.nabble.com/Map-URL-to-directory-tp32694522p32698179.html Sent from the Ap

Re: [users@httpd] Map URL to directory

2011-10-21 Thread milan tomic
Pete Houston wrote: > > Most likely what you are after is the "Alias" directive. > Yes, Alias is what I need. But it doesn't work for me. I have this case: DocumentRoot "D:/Dir1/Dir2" ProxyPass http://tomcat1/MainPath/App1 Alias /MainPath/AL "D:\Dir3\Dir4" Order allow,deny Allo

Re: [users@httpd] Map URL to directory

2011-10-21 Thread Pete Houston
Most likely what you are after is the "Alias" directive. Pete On Fri, Oct 21, 2011 at 12:32:05AM -0700, milan tomic wrote: > > This is very simple question: what should I do in httpd.conf to map some URL > to the file system directory? I need something like this: > > > ProxyPass D:\myDir\my

[users@httpd] Map URL to directory

2011-10-21 Thread milan tomic
This is very simple question: what should I do in httpd.conf to map some URL to the file system directory? I need something like this: ProxyPass D:\myDir\mySubDir Apache 2.2 on Win 2003 Server. I've been reading , and documentation and I haven't found any example. -- View this message in