[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: Apache MultiViews & GNUJSP



Not so easy, think about 

http://www.ee.fh-lippe.de/~alph/mydir/mypage.jsp

>> Opinons?
>what about stripping the part of the jspURL, that equals the DOCUMENT_ROOT
>environment-variable, which should be set by every webserver.
>for example on our webserver the 
>
> DOCUMENT_ROOT is set to /home/webadm/ntweb
>
>and the snoop.jsp returns
>
> Requested URL:    http://www.ee.fh-lippe.de/alph/gnujsp/snoop
> Request method:   GET
> Request URI:      /snoop
> Request protocol: HTTP/1.0
> Servlet path:     /alph/gnujsp
> Path info:        /snoop
> Path translated:  /home/webadm/ntweb/snoop.en.jsp
> (...)
>
>if called under Apache MultiViews only with www.ee.fh-lippe.de/snoop
>
>so if you strip the DOCUMENT_ROOT from path translated /snoop.en.jsp
>will remain. this would hide the local filesystem part.
>
>regards mathias
>

Ciao,
	Carsten Heyl

  Carsten Heyl                          Heyl@NADS.De
  NADS - Solutions on Nets              http://www.nads.de/
  NADS GmbH                             http://www.pixelboxx.de/
  Hildebrandtstr. 4E                    Tel.: +49 211 933 02-90
D-40215 Duesseldorf                     Fax.: +49 211 933 02-93