lo que puedo entender es que quieres correr web2py y php en el mismo 
servidor, pero solo funcionaria si corres por ejemplo web2py en el puerto 
80 y php en otro puerto ejjemplo 8000....

El lunes, 4 de febrero de 2013 19:54:22 UTC-5, José Eloy escribió:
>
> Hello everybody!
>
> I got to install web2py in Hostgator following this instructions: 
> https://groups.google.com/forum/?fromgroups=#!topic/web2py/h8uLiDCerx0
>
> The website made with web2py works very well (http://www.transicion.mx).
>
> But I have to serve also php pages (especifically a joomla site). The 
> joomla instalation is in /www/joomla.
>
> In the root of /www I have the web2py directory and I use these files 
> (also in /www):
>
> *dispatch.fcgi*:
> #!/usr/bin/python
> import sys 
> from flup.server.fcgi_fork import WSGIServer 
> import gluon.main 
> application=gluon.main.wsgibase 
> ## or 
> # application=gluon.main.wsgibase_with_logging 
> WSGIServer(application).run() 
>
> *and* *.htaccess:*
> AddHandler fcgid-script .fcgi 
> Options +FollowSymLinks  +ExecCGI 
> RewriteEngine On 
> RewriteBase / 
> RewriteRule ^dispatch\.fcgi/ - [L] 
> RewriteRule ^(.*)$ dispatch.fcgi/$1 [L] 
>
> How Can I to serve php files in my site?
>
> Thanks for the help
>
>

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to