Re: [web2py] Re: Install in hostgator

2015-03-23 Thread Carlos Costa
Have you seen this?
http://www.web2pyslices.com/slice/show/1567/running-web2py-on-hostgator-shared-host

2015-03-22 23:24 GMT-03:00 LoveWeb2py atayloru...@gmail.com:

 Did anyone ever find a complete solution to this? I'm using web2py on
 hostgator and after following this tutorial I can only get my app to work
 if I name it init. Also, if I try to access another controller for example:
 www.mysite.com/controller/ I get a 404 error. Does this have something to
 do with my htaccess or routes? They are setup exactly how this thread
 recommends

 On Thursday, April 10, 2014 at 1:28:14 PM UTC-4, RTBS wrote:

 Hey Criss,

 Great testimonial and I would love to use hostgator.  However, I would
 also like to use web2py.  Currently, a complete tutorial does not exist to
 make these two work together.  It seems some people have been able to get
 this to work, unfortunately, I am not one of them.

 The django tutorial on the hostgator web page works great and only took
 about 10 min. to get working.  https://support.hostgator.
 com/articles/django-with-fastcgi

 I am looking for something similar for web2py.  I really hate to tie up
 their support team on an issue that they shouldn't be supporting.  I'm
 surprised that no one has written a white-paper how-to on this one.  Maybe
 I'm missing something so simple that no one has bothered to mention it.

 Thanks again, you have solidified my resolve to make this work (or at
 least ask their support team again).


 On Wednesday, April 9, 2014 10:43:10 AM UTC-7, criss shirley wrote:

 Hey Everyone

 I saw many of peoples asking about the best web hosting with best
 resultat so

  i'm here to giving and sharing you my experience :

 I have been with Hostgator for over 4 years now having moved from many
 different hosts before finding the right one, Hostgator. I have never had
 such a fantastic service from any company anywhere! Hostgator are simply
 the best you will find, the customer service is amazing, 24/7 and they help
 with all kinds of advice, even when it isnt server related. They have techs
 working for them that actually care for the customers and this has been
 proven time and time again when I had issues with scripts, even though it
 wasnt up to Hostgator to fix these issues, they gave me great advice to get
 the scripts working. I have a dedicated pro server, fully managed and a
 level 4 VPS, both are perfect for my entire business and I have a lot of
 sites!

 Anyway, Hostgator are simply the best hosting company out there and that
 is the reason why they are so popular, if you are searching for a hosting
 company, you dont need to, just go to Hostgator!

 If you are looking to host your website, my strongest advise is to go
 with Hostgator and you will never regret doing so...

 With hostgator 1 cent coupon, you can get hostgator hosting in just 1
 cent for first month.

  You can use following coupons to get discount:

 $0.01 First Month, Coupon Code - markdownhost

 To sign up in hostgator here : http://goo.gl/3cVZNd


 Le samedi 14 mai 2011 05:21:13 UTC+1, José Eloy a écrit :

 Hello!

 Recently a customer bought a hosting plan (business) with hostgator.
 I'm developing for him a web2py application, I have doubts of how to
 deploy it. Somebody can help me? The application runs well in
 localhost (ubuntu).

 Thanks in advance

  --
 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.




-- 


Carlos J. Costa
Cientista da Computação  | BS Computer Science
Esp. Gestão em Telecom   | PgC Telecom Mangement
º))

-- 
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.


Re: [web2py] Re: Install in hostgator

2012-08-14 Thread Tito Garrido
Hi Brian,

I tried a similar setup but I wasn't able to run it... Were you able to run
web2py in hostgator?
When I try to run it from ssh I get:
lance...@lancesegols.com [~/public_html/lancesegols.com]# python web2py.py
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2011
Version 1.99.7 (2012-03-04 22:12:08) stable
Database drivers available: SQLite3, pymysql, pg8000, IMAP
Starting hardcron...
choose a password:
no password, no admin interface
please visit:
http://127.0.0.1:8000
use kill -SIGTERM 31355 to shutdown the web2py server
Fatal Python error: Couldn't create autoTLSkey mapping
Aborted (core dumped)


Not sure what is wrong... I have put web2py source inside public_html is it
the right path?

My dispatch.fcgi
#!/home/lanceseg/local/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()


My .htaccess:
AddHandler fcgid-script .fcgi
Options +FollowSymLinks  +ExecCGI
RewriteEngine On
RewriteBase /
RewriteRule ^dispatch\.fcgi/ - [L]
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]


Not usre what is wrong but there is not a good tutorial for hostgator.

Regards,

Tito

On Wed, May 18, 2011 at 9:48 PM, Brian M bmere...@gmail.com wrote:

 Yep it'll work similar on hostgator - tried it out a few months back just
 to see if I could get it working, haven't actually deployed anything useful
 but it appears to run ok.  I recall that an appropriate version of Python 
 flup were already installed on my hostgator shared box. I did my install of
 web2py into a subfolder rather than the site root which probably made
 things harder.  Here's that I can quickly grab from my setup, sorry didn't
 take detailed notes :(


 .htaccess
 --
 AddHandler fcgid-script .fcgi
 Options +FollowSymLinks  +ExecCGI
 RewriteEngine On
 RewriteBase /web2py/
 RewriteRule ^dispatch\.fcgi/ - [L]
 RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]


 dispatch.fcgi
 ---
 #!/usr/bin/python2.7
 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()

 routes.py (sorry honestly don't remember if I changed this or not, think I
 had to add the /web2py/ because I put web2py in a subfolder of the site)
 
 #routes_in = ((r'.*:/favicon.ico', r'/examples/static/favicon.ico'),
 # (r'.*:/robots.txt', r'/examples/static/robots.txt'),
 # ((r'.*http://otherdomain.com.* (?Pany.*)',
 r'/app/ctr\gany')))
 routes_in = (('/web2py/(?Pa.*)','/\ga'),)

 # routes_out, like routes_in translates URL paths created with the web2py
 URL()
 # function in the same manner that route_in translates inbound URL paths.
 #

 #routes_out = ((r'.*http://otherdomain.com.* /app/ctr(?Pany.*)',
 r'\gany'),
 #  (r'/app(?Pany.*)', r'\gany'))
 routes_out=(('/(?Pa.*)','/web2py/\ga'),)




-- 

Linux User #387870
.
 _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___

-- 





Re: [web2py] Re: Install in hostgator

2011-05-18 Thread Brian M
Yep it'll work similar on hostgator - tried it out a few months back just to 
see if I could get it working, haven't actually deployed anything useful but 
it appears to run ok.  I recall that an appropriate version of Python  flup 
were already installed on my hostgator shared box. I did my install of 
web2py into a subfolder rather than the site root which probably made things 
harder.  Here's that I can quickly grab from my setup, sorry didn't take 
detailed notes :(


.htaccess
--
AddHandler fcgid-script .fcgi 
Options +FollowSymLinks  +ExecCGI 
RewriteEngine On 
RewriteBase /web2py/ 
RewriteRule ^dispatch\.fcgi/ - [L] 
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]


dispatch.fcgi
---
#!/usr/bin/python2.7 
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() 

routes.py (sorry honestly don't remember if I changed this or not, think I 
had to add the /web2py/ because I put web2py in a subfolder of the site)

#routes_in = ((r'.*:/favicon.ico', r'/examples/static/favicon.ico'),
# (r'.*:/robots.txt', r'/examples/static/robots.txt'),
# ((r'.*http://otherdomain.com.* (?Pany.*)', 
r'/app/ctr\gany')))
routes_in = (('/web2py/(?Pa.*)','/\ga'),)

# routes_out, like routes_in translates URL paths created with the web2py 
URL()
# function in the same manner that route_in translates inbound URL paths.
#

#routes_out = ((r'.*http://otherdomain.com.* /app/ctr(?Pany.*)', 
r'\gany'),
#  (r'/app(?Pany.*)', r'\gany'))
routes_out=(('/(?Pa.*)','/web2py/\ga'),)


Re: [web2py] Re: Install in hostgator

2011-05-17 Thread Syed Mushtaq
Hi ,
I followed http://web2pyslices.com/main/slices/take_slice/76 to run web2py
on hostmonstor , I believe it should be a similar setup for hostgator .

You can check my sample site at http://web2py.igurukul.net/newsfeed

Thanks
-Syed

On Sun, May 15, 2011 at 12:59 AM, pepe_eloy pepe.e...@gmail.com wrote:

 Hello!

 do you think hostgator is a bad hosting provider? I've development
 joomla applications and they works well and the support system is very
 good.

 pity that site hostgator.web2py.es doesn't works to learn how deploy
 my application

 Anybody has another answer?

 Thanks