Nando, I've tryed what you told me about virtual hosts in apache.
With some changes like those: my website it's under d:/webserver/mywebsite and in hosts file I've tryed 127.0.0.1 mywebsite and mywebsite.local and all that I get it's a 'eternal' loading in my browser, and never get on the site. Tah I comment the line: #NameVirtualHost *:80 and I've got an 403 error [You don't have permission to access / on this server]. no htacess in the site. I would love to use apache as my webserver, but it seems to painfull use it. In iis with a couple clicks I have a website running, in apache there's so many things to do, and when it's all done, nothing works! RA under windows xp pro with sp2, apache 2 with php5 and mysql 4, if it will help anyone to help me... On 4/7/06, Rafael Apocalypse <[EMAIL PROTECTED]> wrote: > I'll try that! > > On 4/7/06, Nando Vieira <[EMAIL PROTECTED]> wrote: > > > > Hi RA. > > > > <portuguese> > > Configurar diretórios virtuais é baba! > > </portuguese> > > > > To configure vhosts/mod_rewrite on Apache: > > > > 1) Open httpd.conf > > - Uncomment the lines > > #LoadModule rewrite_module modules/mod_rewrite.so > > #LoadModule vhost_alias_module modules/mod_vhost_alias.so > > #NameVirtualHost *:80 > > - Change the line NameVirtualHost to > > NameVirtualHost 127.0.0.1 > > - Add a host. > > <VirtualHost *:80> > > DocumentRoot c:/my-vhost > > ServerName myvhost > > </VirtualHost> > > 2) Create the folder c:/my-vhost. Put your files there. > > 3) Open the file c:/windows/system32/drivers/etc/hosts > > - Add the line below: > > 127.0.0.1 myvhost > > - Save the file > > 4) Restart Apache > > 5) Point your browser to http://myvhost > > > > Tell us if this works! > > > > -- Nando Vieira > > > > > > > > > > > -- > Rafael Apocalypse > ideiadigital > +55 31 3446.2555 > -- Rafael Apocalypse ideiadigital +55 31 3446.2555 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
