How to break redirect
I've just "inherited" a Zope installation, and of course it's broken. :) However, I can't get in to fix it, since all URLs under /foo/bar redirect to /foo/bar/index_html, including /foo/bar/manage_workspace (and /foo/bar/zot/manage_workspace redirects to /foo/bar/zot/index_html, etc)! The installation was originally set up on 2.1.6, but I see the same behaviour on 2.5.1 (I did a straight export/import). So: Does anyone have any advice on how to break this redirection? Note: I have, by manual inspection and hackery, managed to make the thing work, but it would be nice to be able to edit things like database connection parameters from the Zope interface... -- Espen Wiborg <espenhw@empolis.no> Tigers have striped skin, not just striped fur.
Is there a SiteRoot object installed? One way you can check is to FTP into the site and take a look. Also, you can address the site and suppress the siteroot if one exists: /foo/bar/_SUPPRESS_SITEROOT/manage Hope that helps, Kevin -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Espen Wiborg Sent: Thursday, September 26, 2002 9:37 AM To: zope@zope.org Subject: [Zope] How to break redirect I've just "inherited" a Zope installation, and of course it's broken. :) However, I can't get in to fix it, since all URLs under /foo/bar redirect to /foo/bar/index_html, including /foo/bar/manage_workspace (and /foo/bar/zot/manage_workspace redirects to /foo/bar/zot/index_html, etc)! The installation was originally set up on 2.1.6, but I see the same behaviour on 2.5.1 (I did a straight export/import). So: Does anyone have any advice on how to break this redirection? Note: I have, by manual inspection and hackery, managed to make the thing work, but it would be nice to be able to edit things like database connection parameters from the Zope interface... -- Espen Wiborg <espenhw@empolis.no> Tigers have striped skin, not just striped fur. _______________________________________________ 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 )
"Kevin Carlson" <khcarlso@bellsouth.net> writes:
[...] all URLs under /foo/bar redirect to /foo/bar/index_html, including /foo/bar/manage_workspace (and /foo/bar/zot/manage_workspace redirects to /foo/bar/zot/index_html, etc)! The installation was originally set up on 2.1.6, but I see the same behaviour on 2.5.1 (I did a straight export/import). So: Does anyone have any advice on how to break this redirection? Is there a SiteRoot object installed? One way you can check is to FTP into the site and take a look. Also, you can address the site and suppress the siteroot if one exists: /foo/bar/_SUPPRESS_SITEROOT/manage Hope that helps,
No SiteRoot object (at least nothing named SiteRoot). However, FTPing in gets me part of the way as it lets me edit DTML, SQL statements and the like, but it doesn't let me edit external methods, database connections etc. I should mention (this may not have been quite clear from my original mail) that this only happens to part of the site; that is, I can access /foo/manage_workspace, but /foo/bar/manage_workspace redirects to /foo/bar/index_html. -- Espen Wiborg <espenhw+zope@empolis.no> It's impossible to sneeze with your eyes open. (DON'T try this @ home!)
Espen Wiborg wrote:
"Kevin Carlson" <khcarlso@bellsouth.net> writes:
[...] all URLs under /foo/bar redirect to /foo/bar/index_html, including /foo/bar/manage_workspace (and /foo/bar/zot/manage_workspace redirects to /foo/bar/zot/index_html, etc)! The installation was originally set up on 2.1.6, but I see the same behaviour on 2.5.1 (I did a straight export/import). So: Does anyone have any advice on how to break this redirection?
Is there a SiteRoot object installed? One way you can check is to FTP into the site and take a look. Also, you can address the site and suppress the siteroot if one exists: /foo/bar/_SUPPRESS_SITEROOT/manage Hope that helps,
No SiteRoot object (at least nothing named SiteRoot). However, FTPing in gets me part of the way as it lets me edit DTML, SQL statements and the like, but it doesn't let me edit external methods, database connections etc.
I should mention (this may not have been quite clear from my original mail) that this only happens to part of the site; that is, I can access /foo/manage_workspace, but /foo/bar/manage_workspace redirects to /foo/bar/index_html.
How are the permissions on foo? On foo/bar/? Is it really a redirect, or do you just get the contents of index_html method? cheers, oliver
Check your apache setup if you're using apache. Maybe there's a rewrite in there. -jim ----- Original Message ----- From: "Oliver Bleutgen" <myzope@gmx.net> To: "Espen Wiborg" <espenhw+zope@empolis.no> Cc: <zope@zope.org> Sent: Thursday, September 26, 2002 10:21 AM Subject: Re: [Zope] How to break redirect
Espen Wiborg wrote:
"Kevin Carlson" <khcarlso@bellsouth.net> writes:
[...] all URLs under /foo/bar redirect to /foo/bar/index_html, including /foo/bar/manage_workspace (and /foo/bar/zot/manage_workspace redirects to /foo/bar/zot/index_html, etc)! The installation was originally set up on 2.1.6, but I see the same behaviour on 2.5.1 (I did a straight export/import). So: Does anyone have any advice on how to break this redirection?
Is there a SiteRoot object installed? One way you can check is to FTP into the site and take a look. Also, you can address the site and suppress the siteroot if one exists: /foo/bar/_SUPPRESS_SITEROOT/manage Hope that helps,
No SiteRoot object (at least nothing named SiteRoot). However, FTPing in gets me part of the way as it lets me edit DTML, SQL statements and the like, but it doesn't let me edit external methods, database connections etc.
I should mention (this may not have been quite clear from my original mail) that this only happens to part of the site; that is, I can access /foo/manage_workspace, but /foo/bar/manage_workspace redirects to /foo/bar/index_html.
How are the permissions on foo? On foo/bar/? Is it really a redirect, or do you just get the contents of index_html method?
cheers, oliver
_______________________________________________ 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 )
Oliver Bleutgen <myzope@gmx.net> writes:
Espen Wiborg wrote:
"Kevin Carlson" <khcarlso@bellsouth.net> writes:
[...] all URLs under /foo/bar redirect to /foo/bar/index_html, including /foo/bar/manage_workspace (and /foo/bar/zot/manage_workspace redirects to /foo/bar/zot/index_html, etc)! The installation was originally set up on 2.1.6, but I see <-snip-> I should mention (this may not have been quite clear from my original mail) that this only happens to part of the site; that is, I can access /foo/manage_workspace, but /foo/bar/manage_workspace redirects to /foo/bar/index_html. How are the permissions on foo? On foo/bar/?
Aha! This nudged me in the right direction. It seems that the acl on this subdirectory was keyed to the user name 'superuser', while I had set up 'zopeadmin' as the superuser... Thanks for all your help! -- Espen Wiborg <espenhw+zope@empolis.no> A shark is the only fish that can blink with both eyes.
Another object to check for is an Access rule. If that is in there it might be causing this as well (at least I have messed things up on my own site with these objects before :-). You can suppress that in the same manner as a site root with: /foo/bar/SUPPRESS_ACCESSRULE Kevin -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Espen Wiborg Sent: Thursday, September 26, 2002 10:14 AM To: zope@zope.org Subject: Re: [Zope] How to break redirect "Kevin Carlson" <khcarlso@bellsouth.net> writes:
[...] all URLs under /foo/bar redirect to /foo/bar/index_html, including /foo/bar/manage_workspace (and /foo/bar/zot/manage_workspace redirects to /foo/bar/zot/index_html, etc)! The installation was originally set up on 2.1.6, but I see the same behaviour on 2.5.1 (I did a straight export/import). So: Does anyone have any advice on how to break this redirection? Is there a SiteRoot object installed? One way you can check is to FTP into the site and take a look. Also, you can address the site and suppress the siteroot if one exists: /foo/bar/_SUPPRESS_SITEROOT/manage Hope that helps,
No SiteRoot object (at least nothing named SiteRoot). However, FTPing in gets me part of the way as it lets me edit DTML, SQL statements and the like, but it doesn't let me edit external methods, database connections etc. I should mention (this may not have been quite clear from my original mail) that this only happens to part of the site; that is, I can access /foo/manage_workspace, but /foo/bar/manage_workspace redirects to /foo/bar/index_html. -- Espen Wiborg <espenhw+zope@empolis.no> It's impossible to sneeze with your eyes open. (DON'T try this @ home!) _______________________________________________ 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 (5)
-
Espen Wiborg -
Espen Wiborg -
Jim Kutter -
Kevin Carlson -
Oliver Bleutgen