That might be it. I had not enabled SSL. However, since I will not be
using admin, I do not have time to test if that fixes it.

--
Thadeus





On Tue, Apr 20, 2010 at 3:58 PM, Yarko Tymciurak
<resultsinsoftw...@gmail.com> wrote:
> On Apr 20, 3:43 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
>> I did have trouble getting admin to work properly, it complains about
>> request.env.http_host being a None type, so I was unable to use admin
>> without patching its security checks. However I am comfortable enough
>> with ssh to publish the app manually.
>
> Oh?  I got admin working:
>
> Does your appadmin.py controller have something like:
>
> if request.env.http_x_forwarded_for or request.env.wsgi_url_scheme\
>     in ['https', 'HTTPS']:
>    session.secure()
>
> This works for me on webfaction (and, of course, you have to have SSL
> enabled on your site (from the webfaction panel).
>
> - Yarko
>>
>> --
>> Thadeus
>>
>> On Tue, Apr 20, 2010 at 1:24 PM, annet <annet.verm...@gmail.com> wrote:
>> > Hi Thadeus,
>>
>> > You're right, WebFaction rocks. However, when you want to upload and
>> > install a packed application you will have to proceed as follows:
>>
>> > 1. Log on to WebFaction via terminal/ssh
>>
>> > 2. cd to your remote web2py/application directory
>>
>> > 3. Make a directory by the name of the packed application
>>
>> > 4. Upload and install the packed web2py application via the web
>> > interface and rename it to match the name of the directory you
>> > manually created.
>>
>> >https://admin.domain_name.com/admin/default/site
>>
>> > In the upload and install form browse to the directory where the
>> > packed application resides, rename it (required)
>> > packed_application_name and check the overwrite installed app check
>> > box. Click install.
>>
>> > Thanks to Chris, who helped me solve this problem!
>>
>> > Kind regards,
>>
>> > Annet.
>>
>> > --
>> > Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en
>

Reply via email to