#5765: Cakephp IIS and ACL
------------------------------------------+---------------------------------
Reporter: PiemP | Owner:
Type: Bug | Status: reopened
Priority: Medium | Milestone: 1.2.x.x
Component: ACL (Access Control List) | Version: RC2
Severity: Normal | Resolution:
Keywords: | Php_version: PHP 5
Cake_version: |
------------------------------------------+---------------------------------
Changes (by PiemP):
* status: closed => reopened
* resolution: invalid =>
Comment:
OK, now i use the correct library and in core php i've made this modify to
correct the problem for the URL incorrect:
Configure::write('App.baseUrl', env('SCRIPT_NAME').'?');
But with ACL the problem persist, when i try to login on my site the ACL
cannot allow to access to the reserved area, after the first attempt i try
to re do this action but ACL respond with a page which contains:
Error: Http:Controller could not be found.
Error: Create the class Http:Controller below in file:
app\controllers\http:controller.php
<?php
class Http:Controller extends AppController {
var $name = 'Http:';
}
?>
And the result URL is:
http://127.0.0.1/mysite/index.php?/http:/127.0.0.1/users/login
If i try to access to a page where my user can access the result url was:
http://127.0.0.1/mysite/index.php?/
in google group i can't find nothing about IIS and ACL, I've search about
this problem in google but nothing like this.
With windows and apache the site working well with ACL over cakephp, I'm
not sure it was a bug but if the site working well under apache it's not
normal if the same site don't work under IIS with ACL.
I'm sorry for my written english.
--
Ticket URL: <https://trac.cakephp.org/ticket/5765#comment:2>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---