Is there another way to retrieve a path aside from: <dtml-var PATH_INFO> I need it because with VirtualHostMonster and Apache doing rewriting like RewriteRule ^/(.*) http://www.foo.com:8080/VirtualHostBase/http/www.bar.com:80/foobar/VirtualHo stRoot/$1 [P,L] When the PATH_INFO is used for a form, <input type=hidden name="_gufauth_dest" value="<dtml-var SCRIPT_NAME><dtml-var PATH_INFO><dtml-if QUERY_STRING>?<dtml-var QUERY_STRING></dtml-if>"> the following is produced and thus make errors: <input type=hidden name="_gufauth_dest" value="VirtualHostBase/http/www.bar.com:80/foobar/VirtualHostRoot/"> Thanks for your time. Fritz Mesedilla Systems Administrator Summit Interactive, Inc. FHM | Seventeen | Candy | Cosmopolitan | Preview | Good Housekeeping femalenetwork.com | candymag.com | fhm.com.ph | cosmo.com.ph Palm Pilot Software: TVSked - Download from the link below ---------------------------------------------------------------------------- http://mesedilla.tripod.com +Basta Ikaw Lord
quickly, isn't it <dtml-var "_.string.replace(absolute_url(),BASEROOT,'')"> absolute_url() takes the VirtualHostMonster into consideration and REQUEST.environ.BASEROOT is 'http://www.peterbe.com' for example. Peter ----- Original Message ----- From: "Fritz Mesedilla" <fritz.mesedilla@summitmedia.com.ph> To: "Zope Mailing List" <zope@zope.org> Sent: Monday, August 20, 2001 3:48 PM Subject: [Zope] url path
Is there another way to retrieve a path aside from: <dtml-var PATH_INFO>
I need it because with VirtualHostMonster and Apache doing rewriting like RewriteRule ^/(.*)
http://www.foo.com:8080/VirtualHostBase/http/www.bar.com:80/foobar/VirtualHo
stRoot/$1 [P,L]
When the PATH_INFO is used for a form, <input type=hidden name="_gufauth_dest" value="<dtml-var SCRIPT_NAME><dtml-var PATH_INFO><dtml-if QUERY_STRING>?<dtml-var QUERY_STRING></dtml-if>">
the following is produced and thus make errors: <input type=hidden name="_gufauth_dest" value="VirtualHostBase/http/www.bar.com:80/foobar/VirtualHostRoot/">
Thanks for your time.
Fritz Mesedilla Systems Administrator
Summit Interactive, Inc. FHM | Seventeen | Candy | Cosmopolitan | Preview | Good Housekeeping femalenetwork.com | candymag.com | fhm.com.ph | cosmo.com.ph
Palm Pilot Software: TVSked - Download from the link below -------------------------------------------------------------------------- -- http://mesedilla.tripod.com +Basta Ikaw Lord
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Fritz Mesedilla -
Peter Bengtsson