Re: [Zope] redirect timeout doesn't work

2009-03-12 Thread Dvir Bar-lev
It's ok I solved this by using a javascript at the end to achieve this -Original Message- From: Lennart Regebro [mailto:rege...@gmail.com] Sent: Thursday, March 12, 2009 10:22 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] redirect timeout doesn't work On Wed, Mar 1

Re: [Zope] redirect timeout doesn't work

2009-03-12 Thread Lennart Regebro
On Wed, Mar 11, 2009 at 15:18, Dvir Bar-lev wrote: > Hi just wanted to add something that I forgot to meantion. > The problem I described only happenes on  IE, on firefox it does the redirect > even after I refresh the page manually So yet another IE bug then. You want a lot of timeouts and re

Re: [Zope] redirect timeout doesn't work

2009-03-11 Thread Dvir Bar-lev
: Wednesday, March 11, 2009 3:47 PM To: zope@zope.org Subject: Re: [Zope] redirect timeout doesn't work Yep, you were right, the syntax I used was bad, but now I encountered a diffrent problem. If i set the header as you said and manually refresh the page than it wont redirect again. A

Re: [Zope] redirect timeout doesn't work

2009-03-11 Thread Dvir Bar-lev
From: Thierry Florac [mailto:thierry.flo...@onf.fr] Sent: Wednesday, March 11, 2009 3:24 PM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] redirect timeout doesn't work Le mercredi 11 mars 2009 à 14:59 +0200, Dvir Bar-lev a écrit : > I want to redirect a user from my page to anoth

Re: [Zope] redirect timeout doesn't work

2009-03-11 Thread Thierry Florac
Le mercredi 11 mars 2009 à 14:59 +0200, Dvir Bar-lev a écrit : > I want to redirect a user from my page to another page after a certain > time, I put this code in the dtml page at the top I want to redirect > from: > > > > Address’)"> Maybe I'm wrong but I think it should be something like :

Re: [Zope] redirect timeout doesn't work

2009-03-11 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11.03.2009 13:59 Uhr, Dvir Bar-lev wrote: > Hi > > > > I want to redirect a user from my page to another page after a certain > time, I put this code in the dtml page at the top I want to redirect from: > > > > Likely improper syntax. The

[Zope] redirect timeout doesn't work

2009-03-11 Thread Dvir Bar-lev
Hi I want to redirect a user from my page to another page after a certain time, I put this code in the dtml page at the top I want to redirect from: But although it does refresh after the timeout it stays in the same page instead of going to the address listed in URLAddress. Anyone k

Re: [Zope] Redirect URL

2008-07-16 Thread Subhendu Kumar Giri
I modify the rewrite rule ServerName mydomain.org RewriteEngine On RewriteRule ^/article/view/([0-9]*)/(.*) /archieve/$1 [R] RewriteRule ^/zoperoot(.*) http://xxx.xxx.xxx.xxx:8080/VirtualHostBase/http/mydomain.org:80/VirtualHostRoot/_vh_zoperoot$1 [P,L] RewriteRule  ^/(.*)  http://xxx.xxx.xx

Re: [Zope] Redirect URL

2008-07-15 Thread Andreas Jung
--On 15. Juli 2008 13:55:12 +0530 Subhendu Kumar Giri <[EMAIL PROTECTED]> wrote: How can i redirect www.mydomain.com/article/view/11525/1/ to www.mydomain.com/archieve/11525 By reading the Apache manual. -aj pgpXb4rI5fA1H.pgp Description: PGP signature __

Re: [Zope] Redirect URL

2008-07-15 Thread Subhendu Kumar Giri
Title: Subhendu Kumar Giri Andreas, Thanks for the response. I write in rewrite rule in httpd.conf ServerName mydomain.org ServerAlias www.mydomain.org ProxyPass / http://xxx.xxx.xxx.xxx/VirtualHostBase/http/mydomain.org:80/mydomaininstance/VirtualHostRoot/ ProxyPassReverse / http://xxx.xxx

Re: [Zope] Redirect URL

2008-07-15 Thread Andreas Jung
--On 15. Juli 2008 13:14:53 +0530 Subhendu Kumar Giri <[EMAIL PROTECTED]> wrote: Hi All, Previously I have a website running in php. Now we migrated it to plone 2.5.5 and zope 2.9. After that I want to maintain all the previous links . Earlier it was like www.mydomain.com/article/view/1152

[Zope] Redirect URL

2008-07-15 Thread Subhendu Kumar Giri
Title: Subhendu Kumar Giri Hi All, Previously I have a website running in php. Now we migrated it to plone 2.5.5 and zope 2.9. After that I want to maintain all the previous links . Earlier it was like  www.mydomain.com/article/view/11525/1/ (where 11525 is the article id). Now I created a arc

Re: [Zope] redirect after file upload

2006-03-10 Thread Dieter Maurer
Olivier Wambacq wrote at 2006-3-10 10:57 +0100: >I managed to upload a file to the external folder with plonelocalfolderng >and simultaniously to a database. > >but as you all know, after uploading a file with htmlformuploadfile, this >automaticly redirects to plfng_view. >but I made my own view of

[Zope] redirect after file upload

2006-03-10 Thread Olivier Wambacq
hello people, I managed to upload a file to the external folder with plonelocalfolderng and simultaniously to a database. but as you all know, after uploading a file with htmlformuploadfile, this automaticly redirects to plfng_view. but I made my own view of the files available in the folder, bas

[Zope] Redirect Exception and Five

2006-03-07 Thread Santi Camps
Hi all, I have a problem developing a Product using Five.When a Redirect Exception is raised from a PluggableUserFolder inside my product, it is not handled by the publisher, and I have an error message instead a browser redirect. The same test inside a normal Folder works fine. I'm using

[Zope] redirect on Authorization

2000-11-03 Thread Spicklemire, Jerry
Daniel says: > We have a very large site and many of Users bookmark pages. > This can cause several problems especially if the site layout > changes, security changes at different levels and a user > bookmarks a result pages that depends on previous page(s) > submissions. Yes, it's easy to re

[Zope] redirect on Authorization

2000-11-02 Thread Daniel Rusch
Is there a way of having all users redirected upon Authorization? Let me explian. We have a very large site and many of Users bookmark pages. This can cause several problems especially if the site layout changes, security changes at different levels and a user bookmarks a result pages that depe

Re: [Zope] redirect

2000-10-24 Thread Aleksander Salwa
On Tue, 24 Oct 2000, Joaldo Junior wrote: > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/index.htm?cod= test>')"> DTML tags can't be nested. Try: http://zope.org/index.htm?cod='+test)"> [EMAIL PROTECTED] /--\ | `lon

Re: [Zope] redirect

2000-10-24 Thread Christian Scholz
Hi! > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/index.htm?cod= test>')"> use http://zope.org/index.htm?cod='+test)"> with "" you will enter the python scope and thus no dtml syntax is allowed anymore. Instead you have to use python syntax (test shou

Re: [Zope] redirect

2000-10-24 Thread Phil Harris
http://zope.org/index.htm?cod=' + test)"> - Original Message - From: "Joaldo Junior" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 24, 2000 3:38 PM Subject: [Zope] redirect > how to for that function REDIRECT understand a v

Re: [Zope] redirect

2000-10-24 Thread Daniel Rusch
http://zope.org/index.htm?cod='+_.str(test))"> You can't (and don't need to) put dtml tags inside dtml tags. Joaldo Junior wrote: > > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/index.htm?cod= test>')"> > > ___

Re: [Zope] redirect

2000-10-24 Thread Rik Hoekstra
> > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/index.htm?cod= test>')"> You can't nest dmtl tags try : http://zope.org/index.htm?cod=' + test)"> Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zo

[Zope] redirect

2000-10-24 Thread Joaldo Junior
how to for that function REDIRECT understand a variable. ex. http://zope.org/index.htm?cod=')"> ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lis

Re: [Zope] redirect to user's folder not working

2000-10-06 Thread knight
> On Fri, 06 Oct 2000, Andy McKay wrote: > > AUTHENTICATED_USER is not a string so need to cast it before doing the > > string operation: > > > > > > > > effectively does the same thing, it calls the > > string representation of AUTHENTICATED_USER. > > > > A more 'polite' way to get the user na

Re: [Zope] redirect to user's folder not working

2000-10-05 Thread Curtis Maloney
On Fri, 06 Oct 2000, Andy McKay wrote: > AUTHENTICATED_USER is not a string so need to cast it before doing the > string operation: > > > > effectively does the same thing, it calls the > string representation of AUTHENTICATED_USER. > A more 'polite' way to get the user name is to use AUTHENTI

Re: [Zope] redirect to user's folder not working

2000-10-05 Thread Andy McKay
ED]> Sent: Thursday, October 05, 2000 8:48 AM Subject: [Zope] redirect to user's folder not working > I am using this line in my index_html DTML method in the base root folder to > redirect users to their proper folder so content can be specialized for each > of them: > > >

[Zope] redirect to user's folder not working

2000-10-05 Thread Erik Myllymaki
I am using this line in my index_html DTML method in the base root folder to redirect users to their proper folder so content can be specialized for each of them: I get an error: Error Type: TypeError Error Value: illegal argument type for built-in operation It works fine like hard-coded like

[Zope] Redirect FTP access on a role basis

2000-09-25 Thread Danny William Adair
Is it possible to redirect FTP access to subfolders depending on user's role? If yes, how can I do that? I would like to have ftp://www.mysite.com connect to the graphics folder "/gfx", if an account with a "Designer role" connects to the server in order to upload/exchange graphics. His account i

Re: [Zope] Redirect Back

2000-07-07 Thread Andy McKay
Williamson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 07, 2000 8:56 AM Subject: RE: [Zope] Redirect Back > Oops, sorry, not RESPONSE.REDIRECT, instead RESPONSE.redirect. > > > -Original Message- > > From: Chris McDonough [mailto:[E

RE: [Zope] Redirect Back

2000-07-07 Thread Chris McDonough
Oops, sorry, not RESPONSE.REDIRECT, instead RESPONSE.redirect. > -Original Message- > From: Chris McDonough [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 07, 2000 11:54 AM > To: 'Aaron Williamson'; [EMAIL PROTECTED] > Subject: RE: [Zope] Redirect Back &

RE: [Zope] Redirect Back

2000-07-07 Thread Chris McDonough
riday, July 07, 2000 11:45 AM > To: [EMAIL PROTECTED] > Subject: [Zope] Redirect Back > > > Does anyone know if RESPONSE.redirect() can somehow be used > to send the > user "back," like they clicked the back button on the browser? > > Thanks, > >

[Zope] Redirect Back

2000-07-07 Thread Aaron Williamson
Does anyone know if RESPONSE.redirect() can somehow be used to send the user "back," like they clicked the back button on the browser? Thanks, Aaron Williamson Operation Mobilisation [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTE

[Zope] Redirect when not authenticated

2000-07-06 Thread Paul Gresham
Hi All, I have a secure directory (no Anon access) and when I access it, it will throw me to a login screen in the GUF folder in that dir. What I really want to happen is for the user to be thrown back up a level to the main login/news etc etc screen which is a better place to start. however I see