[Zope] Search and Replace tool

Tres Seaver tseaver at palladion.com
Tue Dec 16 13:46:15 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please don't reply to an existing thread to ask an unrelated question.

> I've been doing some googling and haven't found anything exactly what I'm 
> looking for... Therefore, some input would be welcome.
> 
> I want to search the data.fs file and modify existing part of a URLS from
> 
> /zope/zope.pcgi/intranet/
> 
> to
> 
> :8080/intranet/
> 
> 
> Such that If I have a URL like
> 
> test.domain.com/zope/zope.pcgi/intranet/test.html
> 
> will become
> 
> test.domain.com:8080/intranet/test.html


You need to clarify:  are the URLs you want updated embedded in content
objects, or are they dynamically generated?  If the latter, you need to
google for 'zope virtual hosting';  if the former, you need to explain
the application better:  there is no generic "search and replace"
operation independent of a given application.



Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJR/d3+gerLs4ltQ4RAhqJAJ9EqE3SWB6ffNzLVV7fSVHApE6QHACfaHyp
U1g5P4KeN0l5t8iJySVwHWg=
=Q+4S
-----END PGP SIGNATURE-----



More information about the Zope mailing list