SID-01558: Error when clicking on save Access Denied ..
| Status: |
Answered |
TWiki version: |
5.1.1 |
Perl version: |
5.8.4 |
| Category: |
CategoryAuthentication |
Server OS: |
Solaris 10 x86 |
Last update: |
13 years ago |
Hi Peter,
Thank you very much for providing support question.
Some users are getting Access Denied error as below
Access check on Main.Webhome failed. Action redirect : unsafe redirect to
http://
...: host doesnot match{DefaultUrlHost}, and is not in {PermittedRedirectHostsUrls}
2 days back we had upgraded from 4.1.2 to 5.1.1 and strangely some different webpages are working.
And also when we click on Attach located at right top of the webpage it goest to attach files and when we select the file and click on attach it does not attach anything. it simply loads the page.. and I can attach the file using WYSWYG editor. what needs to be done?
Regards,
Madhu
--
MadhuSudhandeva - 2012-10-16
Discussion and Answer
Are {DefaultUrlHost} and {PermittedRedirectHostsUrls} set in configure script? They have to match the actual url of your new site.
Regarding the other problems make sure permissions are set as in
SettingFileAccessRightsLinuxUnix
--
EnriqueCadalso - 2012-10-17
Hi Enrique,
Thank you for your response.
I have already tried these below configure script.. we have total 14 wikiwebs only 3 of them are not working.. i mean when we save the unsafe redirect error appears.
$TWiki::cfg{DefaultUrlHost} = 'http://madhu-test-a';
$TWiki::cfg{PermittedRedirectHostUrls} = 'http://madhu-test-a.com';
and also i have tried this
$TWiki::cfg{DefaultUrlHost} = 'http://rmds-test-a';
$TWiki::cfg{PermittedRedirectHostUrls} = 'http://madhu-test-a';
And also tried to comment the
PermittedRedirectHostUrls line li Localsitr.cfg but still the same..
--
MadhuSudhandeva - 2012-10-17
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
Peter Thoeny - 2013-03-05
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.