Hi, sometimes clients have a shared hosting, and they don't want to change...

The most recommended way is wcgi or mod python, but if the shared hosting not support it, and you have no option, you can run it with the cgi support (almost all support it), really not recomended because of performance, but for a low traffic site can work. If you need it I can post how I did it in a namecheap shared hosting.

Regards.

El 10/02/15 a las 16:06, Massimo Di Pierro escribió:
I do not understand why anybody would use shared hosting in 2015 when you can have PythonAnywere or Google App Engine for free or a dedicated VM on Digital Ocean for $5/mo.

Anyway, the book chapter "Shared hosting with mod_python" must go. mod_python should not be used by anybody anymore.

How to use web2py on shared hosting really depends on what they allow. Probably your best best is running web2py locally under the credentials of the user of the shared account and use htaccess/cpanel to do a port redirection using for example apache mod_proxy. I can give more details if you point me to some documentation from the host company.

Massimo



On Monday, 9 February 2015 03:04:25 UTC-6, Alexander Morales wrote:

    I'm waiting for a reply too.
    I can't run my web2py on a shared hosting with CPanel.

    The official tuttorial isn't working...

    thanks
    Alexander

    El sábado, 18 de mayo de 2013, 20:32:33 (UTC-4:30), Neeraj Kumar
    escribió:

        I am reseller and already have 8+ domains hosted with them.
        Its really painful and time taking to switch, and they offer
        pretty good space and bandwidth(for non web2py, i am still
        fine with their services, but for web2py silicon house is
        behaving pathetically). They are not offering SSH access,
        asking to take cloud/VPS, but don't want to spend that much of
        money.
        (Though i will definitely switch if nothing works).

        Well, in "web2py manual 5th edition" i read section 13.2.10
        for "Shared hosting with mod_python". That looked promising
        upon reading, but did not work.

        I am basically thinking on 2 lines for solution(3rd obviously
        is changing the hosting provider):
        1) I believe there should be some way out over here, by means
        of ScriptAlias, SetHandler or PythonHandler, etc in .htaccess file
        2) I have access to cPanel, and do see an icon for "cron jobs"
        and I believe i can execute some commands by means of this.
        But do not know what to execute :)

        If anybody has done it in past without modifying apache
        configuration files(..conf/apache.conf, and
        ..conf/extra/httpd-vhosts.conf), then that experience will be
        of great help.


        On Friday, May 17, 2013 6:10:57 PM UTC+5:30, yamandu wrote:

            Have you asked your host for SSH access?
            I have used hostgator, I have to ask then to grant me SSH
            access, and even with this is a pain to make web2py run there.
            If they dont give it anyway, consider change the host,
            give a try at pythonanywhere.com
            <http://pythonanywhere.com>, you should install web2py
            with one click.


            2013/5/16 Neeraj Kumar <neeraj...@gmail.com>

                Hi,
                I am trying to deploy Web2Py on my linux shared
                hosting with siliconhouse.net <http://siliconhouse.net>.
                Python runs on their system, able to run HelloWorld.py
                But when i unzipped the files on my public_html
                folder(with 755 permission on *.py files), instead of
                running it, it shows me listing of all files including
                *.py files.
                I am not sure what the problem is? If i click on any
                *.py files, it shows me 500-Internal Server Error 500.
                I have no shell or SSH access, is there a simple and
                easy way for me to be able to run web2py on this.
                They are using mod_python, and i can not deploy
                mod_wsgi. Is there any alternate, or is there
                something i can do my editable area i.e. inside
                public_html/..., so that when open my site i should be
                able to see running web2py application of my choice?
                I shall be highly thankful for any assistance on this.
                Regards,
                Neeraj Kumar
--
                ---
                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+un...@googlegroups.com.
                For more options, visit
                https://groups.google.com/groups/opt_out
                <https://groups.google.com/groups/opt_out>.





-- Att.

            Carlos J. Costa
            Cientista da Computação
            Esp. Gestão em Telecom

            EL MELECH NEEMAN!
            אָמֵן

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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 <mailto:web2py+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.



--
Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 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/d/optout.

Reply via email to