On May 13, 8:51 pm, ciprian <mephisto...@yahoo.com> wrote:
> thanks for trying to help. but i already spent two days trying to
> figure it out. i can install web2py with no problems - but i dont have
> too much experience withmod_wsgi(google doesnt help) no web2py
> tutorials and i guess this is the end. i really need to run php too on
> the same apache but i cant. So i guess this is the end!
> So message for the comunity if someone cares anyways! even if i will
> remain a web2py fan - i wont use it for my bussiness, because it lacks
> where i needed it most.
> Some might call me a noob, whatever - i just dont know how to config
> the damnmod_wsgi. i am sure there are at least 100 in this world who
> have tried this and felt the same frustration i did. So like a project
> in future - write a tutorial on how to install web2py and php both
> running on the same server. ruby on rails have like 1000 tutorials on
> subject!

If you need mod_wsgi it helps if you use the correct forum. Read:

  http://code.google.com/p/modwsgi/wiki/WhereToGetHelp

You can quite happily interleave PHP and mod_wsgi (web2py) on the same
Apache server.

How you do that is based on configurations described in:

  
http://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines#The_Apache_Alias_Directive

If you are the sort however who expects tailored documentation which
satisfies your exact setup or combination of packages you will forever
never find what you want. This is because there are too many
variations and no one can documentation all of them. Thus you
generally will have no choice to learn the fundamentals of how systems
work and if you still don't understand use the correct forums to get
help when needed.

Graham

> Best Regards!
>
> On May 12, 5:16 pm, Álvaro Justen <alv...@justen.eng.br> wrote:
>
>
>
> > On Tue, May 11, 2010 at 18:39, ciprian <mephisto...@yahoo.com> wrote:
> > > i used this script to install web2py:
> > >http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
>
> > > so i have everything in www-data
> > > and everything works fine.
>
> > > now..what do i have to install to make php work on the same folder? or
> > > what do i have to config. i have a very old app writed on php so i
> > > want to be able to add on the server the demo - because i am rewriting
> > > my site from php to web2py.
>
> > What do you mean with "same folder"?
> > If you are saying about: mysite.com/somefolder get requests for web2py
> > AND PHP it'll not be possible, I think.
> > What you could do is to split the URLs, for example:
> > web2py.mysite.com will get the requests and send to web2py and
> > php.mysite.com will send to PHP.
> > You could do also:
> > mysite.com/web2py
> > and
> > mysite.com/php
> > Obviously you could use /anything you want and configure Apache to
> > direct this to web2py or PHP.
>
> > > any help would be very helpful for me!
>
> > --
> > Álvaro Justen - Turicas
> >  http://blog.justen.eng.br/
> >  21 9898-0141

Reply via email to