#5765: Cakephp IIS and ACL
------------------------------------------+---------------------------------
Reporter: PiemP | Owner:
Type: Bug | Status: closed
Priority: Medium | Milestone: 1.2.x.x
Component: ACL (Access Control List) | Version: RC2
Severity: Normal | Resolution: needmoreinfo
Keywords: | Php_version: PHP 5
Cake_version: |
------------------------------------------+---------------------------------
Changes (by AD7six):
* status: reopened => closed
* resolution: => needmoreinfo
Comment:
test case please.
[[BR]]
[[BR]]
Replying to [comment:2 PiemP]:
> 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').'?');
[[BR]]
[[BR]]
What is the "?" for?. That on it's own is going to cause you problems.
[[BR]]
[[BR]]
>
> 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.
[[BR]]
[[BR]]
This indicates a malformed url
[[BR]]
[[BR]]
>
> 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
[[BR]]
[[BR]]
Like that one ↑
[[BR]]
[[BR]]
>
> 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.
[[BR]]
[[BR]]
That's probably because it's not an acl specific problem you have (again?)
borked your install and it'll probably affect several urls.
[[BR]]
[[BR]]
> 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.
[[BR]]
[[BR]]
No need to apologize. However we can't do anything with the information
you've provided. It's either a problem caused by your own setup (google
group/#irc) or a problem related to routing on IIS (test case please).
--
Ticket URL: <https://trac.cakephp.org/ticket/5765#comment:3>
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
-~----------~----~----~----~------~----~------~--~---