http://www.google.com.ar/search?q=cakephp+apache+alias
On Mon, Apr 14, 2008 at 9:37 AM, Louie <[EMAIL PROTECTED]> wrote: > > I am having trouble getting this new cake app I am developing to work > smoothly under an Apache alias. I have my app located under C:\xampp > \htdocs\cake\roco. I have setup an alias in http.conf named roco, have > mod_rewrite on with the following in my .htaccess under C:\xampp\htdocs > \cake\roco: > > <IfModule mod_rewrite.c> > RewriteEngine on > RewriteBase /roco > RewriteRule ^$ webroot/ [L] > RewriteRule (.*) webroot/$1 [L] > </IfModule> > > Everything seems to work fine when I go to http://localhost/roco but > the problem is that any references to '/' in my pages just point back > to http://localhost/ eg when I go to http://localhost/roco/staff/ I > lose my stylesheet. > > The reason I'd like to do it this way is so that I can have different > apps under the main cake branch that each have their own web server > alias eg > > C:\xampp\htdocs\cake\mywebapp1 => http://localhost/mywebapp1 > C:\xampp\htdocs\cake\mywebapp2 => http://localhost/mywebapp2 > C:\xampp\htdocs\cake\mywebapp3 => http://localhost/mywebapp3 > > I know this probably a pretty basic Apache config thing but I'm in new > territory here! > > Would appreciate any help, > > thanks Luke > > ps have gone through this...http://bakery.cakephp.org/articles/view/ > working-with-apache-aliases-during-cake-setup > > ... but doesn't seem to work. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
