Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Clean D 6.20 install, and a views page, with "Access: authenticated user"...
If i go as anonymous on that page it gives me "Server Error - 403 Forbidden: Acces is deniend", but no redirect on login form..
See screenshot
PS: if it helps i'm using web.config (IIS's .htaccess) provided from Acquia.
Comment | File | Size | Author |
---|---|---|---|
#3 | web.config.txt | 2.16 KB | elgandoz |
D6_403_redirect_doesn_work.jpg | 134.38 KB | elgandoz |
Comments
Comment #1
hunmonk CreditAttribution: hunmonk commentedcan't really help you with IIS, hopefully someone else can. you can also try check the views issue queue -- i seem to recall an access-related issue w/ LT that we eventually determined was a views bug.
you can also try disabling all other contribs to see if one of them is causing a problem.
Comment #2
jim.phelan CreditAttribution: jim.phelan commentedJust a thought, check if “IIS -> Error Pages -> Edit Features Settings” for this site is configured to show 'Custom Errors' or ‘Detailed errors for local pages and custom error pages for remote requests.’ If it is set to either test it with 'Edit Featues Settings' set to ‘Detail errors’ and it may work (or may not) but if custom errors are being sent then Drupal may not recognise it as a 403.
Comment #3
elgandoz CreditAttribution: elgandoz commentedThanks guys. I fixed the problem adding 2 lines in web.config (taken from D7) in , where there is alredy the rule for 404 error.
So the whole tag is:
I attached the whole web.config
It seems to work fine in my case, but only with LoginToboggan installed and the 403 rule active. After login it brings me to desired -no-more-denied- page (I have LoginDestination installed too).
I think the reason is related to url (the login page appears with the denied url), but I'm not a web.config pro.
For me is fine because I usually install this module anyway in my sites, but have this function working in an independent way would be better.
I will test this on D7.
Comment #4
hunmonk CreditAttribution: hunmonk commentedseems like this is fixed for now.
Comment #7
apaderno