Hi,

Thanks for your reply, your suggetsion quickly pointed my in the right
direction. Virtual hosts is what i needed and easily found windows and
xamp config details on google.

if anyone runs into the same problem, please first consider having
your sites rest in different directories using virtual hosts, then you
can use installation details outlined here

http://book.cakephp.org/view/35/Advanced-Installation

i think either of the first 2 options outlined should work for typical
installations

Thanks

On Jun 2, 10:15 am, Martin Westin <[email protected]> wrote:
> I always keep multiple sites as virtual hosts in Apache (the A in WAMP/
> XAMPP) and combine that with fake hostnames.
>
> (/ets/hosts on *nix, no idea how Windows do it)
> hostnames, all pointing to localhost might be
> portfolio.site
> great.site
> tutorials.site
>
> If you then setup Apache in your *amp to use vhosts. At their most
> simple they look like:
>
> NameVirtualHost *:80
> <virtualhost *:80>
>     DocumentRoot /path/to/cake/portfolio/webroot
>     ServerName portfolio.site
> </virtualhost>
> <virtualhost *:80>
>     DocumentRoot /path/to/cake/great/webroot
>     ServerName great.site
> </virtualhost>
>
> You can see that I have created multiple "app" folders and called them
> by the name of the project. I have then pointed Apache to the webroot
> of each one for a "production" deplay locally. For me this is one less
> thing that changes when I deploy and I very rarely have deployment
> problems with this setup.
>
> On Jun 1, 11:17 pm, pixie <[email protected]> wrote:
>
> > Hi,
>
> > Been developing with php on and off for 2 years now and looking to try
> > my hand at web based apps using cakephp.
>
> > How can i configure more than one testing and development instance on
> > my local machine for each project or tutorial i work on as i learn?
> > e.g. C:\xampp\htdocs\cakeProjOne, C:\xampp\htdocs\cakeProjTwo and C:
> > \xampp\htdocs\cakeProjThree.
>
> > What then must i take note of when uploading the app to an online
> > testing/live server.(Also shared but Cpanel based)
>
> > Thanks for all help and your consideration.
>
> > P!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to