Hi!
I want to place my CakePHP app to a subdirectory like this:
web (server document root)
cake_app
app
cake
etc
I made a htaccess to the document root:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^$ cideo/app/webroot/ [L]
RewriteRule (.*) cideo/app/webroot/$1 [L]
</IfModule>
(cideo is the name of the app)
Evrything works well at first look, but if i make links with html
helper, the links will look like this:
http://domain.com/cideo/controller/action
but i want only
http://domain.com/controller/action
is there any way to solve this?
I looked at the source of Router but i only figured out that i have to
modify the $base variable, but i didnt find out where (how) it gets
value.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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