SID-01562: Access Denied for some Webs
| Status: |
Answered |
TWiki version: |
5.1.1 |
Perl version: |
5.8.4 |
| Category: |
CategoryAuthentication |
Server OS: |
Sun Solaris |
Last update: |
13 years ago |
Hi Peter,
We have done twiki upgrade from 4.1.2 to 5.1.1.
I have just unziped new twiki5.1.1 to new folder and copied all the old data.
After the upgrade evrything went fine but some of the users are getting the errors Access Denied though they are able to save the changes in the web. Below is the error.. Please help me ..
Access check on
Main failed. Action "redirect": unsafe redirect to
http://raju-wiki/twiki/bin/oops/BRWiki/CookBook?twiki_redirect_cache=ab60cbafda521be9fa09fa57cc6048fa
: host does not match {DefaultUrlHost} , and is not in {PermittedRedirectHostUrls}"http://cmp-wiki <http://cmp-wiki/> ".
Contact
brajubandaru@gmailPLEASENOSPAM.com <mailto:brajubandaru@gmail.com?subject=%25PARAM1%25%20access%20denied%20for%20'Main.WebHome'> if you have any questions.
Related topics:
TWikiGroups <http://emarkets-wiki/twiki/bin/view/Main/TWikiGroups> ,
TWikiAccessControl <http://raju-wiki/twiki/bin/view/TWiki/TWikiAccessControl>
--
BapirajuBandaru - 2012-10-18
Discussion and Answer
As indicated, make sure your site's URL(s) are listed properly in the
{PermittedRedirectHostUrls} configure setting.
--
PeterThoeny - 2012-10-18
Hi Peter,
I have tried earlier as you mentioned
The Localsite.cfg has
$TWiki::cfg{DefaultUrlHost} = 'http://cmp-wiki';
$TWiki::cfg{PermittedRedirectHostUrls} = 'http://raju-wiki';
But some people uses the different URL to access the raju-wiki They would be not able to browse through
http://cmp-wiki/twiki/bin/view/HomeWiki/WebHome
and they can only browse using
http://raju-wiki/twiki/bin/view/HomeWiki/WebHome
I can edit the page using
http://cmp-wiki/twiki/bin/view/HomeWiki/WebHome
and if use other page to edit it gives redirecturl error.. am i doing any thin wrong?
also tried
$TWiki::cfg{DefaultUrlHost} = 'http://cmp-wiki';
$TWiki::cfg{PermittedRedirectHostUrls} = 'http://127.0.0.1,http://cmp-wiki;
and
$TWiki::cfg{DefaultUrlHost} = 'http://cmp-wiki,http://raju-wiki';
$TWiki::cfg{PermittedRedirectHostUrls} = 'http://127.0.0.1,http://cmp-wiki;
Please suggest me what else can be done
--
BapirajuBandaru - 2012-10-18
Please read the docs next to {PermittedRedirectHostUrls} in configure. You can add multiple domains.
--
PeterThoeny - 2012-10-18
Hi peter,
we had some domain problem since last two weeks the url we pointed is not working.
Now the same url is working and we are not getting the error now.
Thank you once again
--
BapirajuBandaru - 2012-10-19
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.