*If I remove the htaccess, everything works.
On Oct 16, 6:26 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> here is my directory structure:www.domain.com/
> 1_00/
> app/
> views/
> root/
> login.thtml
> projects/
> new.thtml
>
> If i create a Session variable in root controller, i cant see it
> outside. If i create a session variable outside of root, i can't see
> it in root. If I remember the htaccess, everything works.
>
> here is my htaccess:
> Options +FollowSymLinks -Indexes
>
> RewriteEngine on
> RewriteCond %{HTTP_HOST} ^domain\.com$
> RewriteRule (.*)http://www.domain.com[L]
>
> RewriteCond %{REQUEST_URI} !^(/1_00|/tools|/_clients|/_research|/wiki|/
> blog)
> RewriteRule ^(.*)$ 1_00/$1 [L]
>
> On Oct 16, 3:35 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > I moved the security to medium.
>
> > I moved the method to 'database'
>
> > I have a .htaccess that redirects everything
> > fromwww.domain.comtowww.domain.com/1_00/
>
> > If I take the htaccess out, everything works. Otherwise, you can login
> > but all AJAX request fails. AJAX request go
> > towww.domain.com/controller/ajax/get
> > will fail saying I dont have admin access because the $_SESSION is
> > gone
>
> > I have been working on this for hours and don't know what to do any
> > more. please help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---