Have you tried to put the livehelp folder inside your webroot folder?
The stock .htaccess rules for the webroot folder are as follows:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
That means it tries to find the file/script inside the webroot folder
before rewriting the url to cake's index script.
Unite wrote:
> I have tried
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{REQUEST_URI} ^/livehelp/(.*)$
> RewriteRule ^.*$ - [L]
> </IfModule>
> <IfModule mod_rewrite.c>
> RewriteEngine on
> RewriteRule ^$ app/webroot/ [L]
> RewriteRule (.*) app/webroot/$1 [L]
> </IfModule>
>
> but this didnt work either. any suggestions?
>
> On Jan 12, 4:07 pm, Unite <[email protected]> wrote:
>
>> <IfModule mod_rewrite.c>
>> RewriteEngine on
>> RewriteRule ^$ app/webroot/ [L]
>> RewriteRule (.*) app/webroot/$1 [L]
>> </IfModule>
>>
>> thats my .htaccess. so how would I do it? Dont know much
>> about .htaccess. Thanks
>>
>> On Jan 12, 4:00 pm, Kappa <[email protected]> wrote:
>>
>>
>>> Why not configuring properly the .htaccess ? put a rule before the
>>> cake routing,
>>> in that way it will not be remapped in /app/webroot
>>>
>>> Bye,
>>> Andrea
>>>
>>> On Jan 12, 2:33 pm, Unite <[email protected]> wrote:
>>>
>>>> On my servers WWW directory I have cakephp installed and it works. My
>>>> problem is I want to now add a comercial product to my site that gets
>>>> accessed usingwww.mydomain.com/livehelp(livehelpisthe commercial
>>>> package). How or where would I put the livehelp folder so it has the
>>>> affect ofwww.mydomain.com/livehelp. As far as cakephp goes i know its
>>>> trying to interpret /livehelp as a controller. So where do i put live
>>>> help so I can have the desired effect. thanks.
>>>>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---