hi for webfaction, your web2py app is an application with a name,you can find out what name when check it in application menu, and the file Parameters_80.py (or *parameters_xyz.py* not sure what you got) is in web2py application folder, look like this:
home/yourusername/webapps/web2py <---this is name of an app which we have give to inside this folder has 3 folders: apache2, htdocs, web2py so goto: home/yourusername/webapps/web2py/web2py the file: *parameters_80.py (or * *parameters_xyz.py* *) must be here, if not we can not login.* inside this file is your encoded password, you dont need to open this file to edit, just rename it by change the port number, 80 or the port that webfaction gave to app and test. (get this port via application menu) if the *parameters_80.py* file is not exsiting then you have do the steps to set password for web2py (i wrote above ) , it will created this file for you. regards On Fri, Jul 6, 2012 at 12:52 AM, Prakhar Srivastava <[email protected]> wrote: > thanks bro, with the help of this mail i install the web2py application but > still not able to login ,i open one ticket for that issue so they reply me > not open Parameters_80.py get the pwd > but i'm able open this file and even i don't know where it is? please help > bro > > > On 5 July 2012 10:24, khuc viet Cuong <[email protected]> wrote: >> >> sorry for bad english, i forgot one thing that: >> you should check web2py folder first, >> if there is a parameters_1234.py file then you have remove it before >> do steps above >> (coz: if parameters_1234.py is existing then web2py wont ask password >> again, dont remember exactly ) >> >> web2py admin panel and password wont work if you installed it by >> autoscript, because 2 problems: >> 1- No SSL web2py website be created in webfaction control panel. >> 2- parameters_portnumber.py: portnumber is wrong ( i tested and it >> works with port 80, dont understand why) >> >> To re-config apache for web2py, goto: >> username/webapps/web2py/apache2/conf/httpd.conf >> open this file and change these params to fit your requirement and here is >> mine: >> >> MaxSpareThreads 3 >> MinSpareThreads 1 >> ThreadsPerChild 5 >> WSGIDaemonProcess web2py processes=1 >> python-path=/home/user/webapps/web2py/lib/python2.7 threads=1 >> maximum-requests=120 >> >> Regards. >> >> On Thu, Jul 5, 2012 at 12:35 PM, khuc viet Cuong <[email protected]> >> wrote: >> > hi, >> > webfaction will use your admin password for web2py admin password by >> > default if you install it by auto-script. its ricsky. >> > to set password , you have login via SSH, run web2py as python script, >> > it will ask you password, when you done, stop and kill web2py process, >> > a new file : parameters_portnumber.py , etc. parameters_1234.py which >> > 12345 port is webfaction gave you when create a new app , but web2py >> > wont work, alway say can access password or...blabla, to solve it, >> > rename its name: >> > >> > parameters_1234.py--> parameters_80.py >> > >> > and check your apache thread worker via SSH, and test from your brow. >> > default web2py app folder in webfaction will look like this: >> > web2py--> >> > -apache2 >> > -htdocs >> > -web2py >> > >> > check your apache thread worker memory usage via SSH to know how much >> > it eats, should re-config apache, if not webffaction will kill your >> > apache worker and issue email "memory exceed your plan...." when run >> > web2py. if u need re-config apache, i will paste it here for you. >> > Regards >> > >> > >> > On Thu, Jul 5, 2012 at 7:42 AM, monotasker <[email protected]> wrote: >> >> Do you know how to set the admin password? I tried entering my >> >> webfaction >> >> dashboard password but it didn't work. >> >> >> >> Ian >> >> >> >> >> >> On Wednesday, July 4, 2012 11:42:24 AM UTC-4, kokoyo wrote: >> >>> >> >>> hi, i have been using webfaction, you can do these step to get w2py >> >>> admin: >> >>> on the left menu: Domains/Website >> >>> >> >>> 1. -->Domains-->Add new domain: domain.com (you did) >> >>> 2. -->Applications-->Add new application: web2py (you did: >> >>> install web2py) >> >>> 3. -->Websites--->Click the (+) at bottom-right to create a new >> >>> Website >> >>> with: >> >>> Name:*: web2py >> >>> Https:* un-check >> >>> Subdomains:* domain.com >> >>> Site apps:--->app: web2py (got this name at Step 2) >> >>> URL path (ex: '/' or '/blog'):* / (you >> >>> did) >> >>> >> >>> 4. Repeat Step 3 with: >> >>> Name:*: web2py_admin >> >>> Https:* checked >> >>> Subdomains:* domain.com >> >>> Site apps:--->app: web2py (got this name at Step 2) URL >> >>> path (ex: '/' or '/blog'):* / >> >>> >> >>> >> >>> you have lacked of step 4 only, >> >>> to login to admin page: https://domain.com/admin >> >>> >> >>> Regards >> >>> >> >>> On Tue, Jul 3, 2012 at 1:46 PM, Annet wrote: >> >>> > Hi, >> >>> > >> >>> > This post might answer your question: >> >>> > >> >>> > >> >>> > >> >>> > https://groups.google.com/forum/?fromgroups#!searchin/web2py/annet$20webfaction/web2py/o9We_wV3eNc/0dS3ci6nFOAJ >> >>> > >> >>> > >> >>> > Kind regards, >> >>> > >> >>> > Annet > > > > > -- > With Regards > Prakhar Srivastava > +919241829245 >

