On Thursday, July 20, 2017 at 11:57:42 AM UTC-7, Alessandro Molina wrote:
>
>
>
> On Thu, Jul 20, 2017 at 5:15 PM, AZMel <melir...@gmail.com <javascript:>> 
> wrote:
>
>>
>> Every time I try to access the app from the browser I get a *directory 
>> listing* instead of the running app. A new virtualbox image was created 
>> in case my real server was wonky, but it fails to run on that one too.
>>
>  
> If you get a directory listing it means that the problem is in mod_wsgi 
> configuration itself as you are not even reaching the turbogears 
> application.
> I suspect the issue is in your apache configuration, are you sure you are 
> even reaching the virtualhost you expect? As it has no ServerName I suspect 
> you might just be serving the default one.
>

I will check further on Apache then. 

>
>
> One thing I noticed was production.ini was not created automatically like 
>> the docs says it is.  I copied the development.ini file and replace all the 
>> debug = true with debug = false.
>>
>
> Uhm, where is it stated? production.ini is not expected to be created 
> automatically, you are expected to write it yourself with your production 
> options.
> Even though it's planned to provide a command to create it for you out of 
> a template: https://github.com/TurboGears/tg2devtools/issues/9
>  
>

It is stated on this page: 
http://turbogears.readthedocs.io/en/latest/turbogears/configuration/appconfig.html?highlight=production.ini.
 
 Misleading if it is not correct.

Thanks for you answer.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to turbogears+unsubscr...@googlegroups.com.
To post to this group, send email to turbogears@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to