Hi,

The best way to do this is to create subdomains.

So you will have:

/home/user/www
/home/user/phpapp

and you can create a subdomain this way:

php.mydomain.com (that refers to /home/user/phpapp)

to call it directly using your main www.mydomain.com you can create a 
redirect app.

in web2py you can create a new app, that is called phpapp, and in the 
default controler, index function,  you do a redirect() to your 
php.mydomain.com

so if you call www.mydomain.com/phpapp it will automatically redirect you 
to php.mydomain.com and open your php application.


Hope it helps!


Em quinta-feira, 20 de junho de 2013 20h51min27s UTC-3, José Eloy escreveu:
>
> Hello!
>
> This question was made by me several months ago. The matter is simple: How 
> to serve php apps and web2py apps from the same shared hosting? In my case 
> I'm using Hostgator. The web2py app is in the root of the domain (\www 
> folder), the php is in a sub URL (from \www\phpAppFolder), but when I 
> request the php app I always get "Invalid Request". I think web2py is 
> always catching the request and the php apps never is executed. 
>
> Somebody can help me?
>
> Thanks in advanced.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to