.... or at least _I'd_ like to be able to do this....   I remember attempts
to get sqldesigner be part of web2py without making any changes (so updates
could be taken directly) -  it's documentation would fail in this way, and
it was one of the annoyances.

On Mon, Apr 13, 2009 at 12:15 PM, Yarko Tymciurak <[email protected]> wrote:

> that is only an option - still, you would like to be able to (say) write
> documentation for web2py using sphinx, generate all the indexes, and server
> the docs from within your web2py instance....  it's really a packaging /
> complexity of setup+deployment decision.
>
> On Mon, Apr 13, 2009 at 2:57 AM, Michal Jursa <[email protected]> wrote:
>
>>
>> I'd say, if you just need to serve direcotry indexes and static files,
>> use separate http server for that part and not application server.
>>
>> Michal
>>
>> Yarko Tymciurak wrote:
>> > Note:  If you serve static files like this, you will run into
>> > (potentially) one problem:
>> >
>> > If (as is common) a link to someplace in the static place _assumes_
>> >  index.htm or index.html, and the link is only to a directory, it will
>> > not work on web2py (it will work probably everyplace else in the web
>> world).
>> >
>> > We should fix this.
>> >
>> > On Wed, Apr 8, 2009 at 10:27 AM, Timmie <[email protected]
>> > <mailto:[email protected]>> wrote:
>> >
>> >
>> >      > You can put your files in static and they will all be exposed.
>> >      >
>> >      > You can also create an action like
>> >      >
>> >      > def static_content():
>> >      >      import os
>> >      >      files=os.listdir(os.path.join(request.folder,'static'))
>> >      >      return HTML(BODY(*[TR(TD(A(f),_href=URL
>> >      > (r=request,c='static',f=f)))) for f in files]))
>> >      >
>> >      > to list the content of the static folder.
>> >     Thank you for this explanation!
>> >     I will try this out.
>> >
>> >
>> >
>> > >
>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to