[Zope] Search and Replace tool

Stephen Christian schrist at vex.net
Tue Dec 16 14:44:33 EST 2008



On Tue, 16 Dec 2008, Tres Seaver wrote:

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

Thought, I started a new thread, maybe I have something configured 
incorrectly.


>> 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.
>

I believe the latter, what I'm looking for is "hardcoding" by the users as 
I have no idea what they've done / put in their content.

------------------------------------------------------------------------
Canada's Fan S/F Convention                             http://tcon.ca 
------------------------------------------------------------------------
Stephen Christian(schrist at vex.net)  _                     Member of:
    www.vex.com/~schrist            (_'-/-_  _ |_  _  _  DWIN,Polaris 22
Canada's B5 Information Pages:     ._)( (-'|_)| )(-'| ).     <*>
    www.cdnb5.ca                            |          President of TCON



More information about the Zope mailing list