So I found a workaround. The alias directive should be as follows: "Alias / /<web2py's home>/applications/<your specific app>/static/"
This allows the web2py code to run properly and still allow .svg images to be correctly given to the client with the proper image/svg +xml header. The problem I have with this is I'd like to manipulate the xml contained within the .svg with web2py. Is an email to the author in order? On Apr 7, 1:21 pm, zxynax <zxy...@gmail.com> wrote: > I uncommented the alias line and it now serves SVG. > Problem is that none of the web2py code runs. > > On Apr 7, 10:31 am, bsnipes <snipes.br...@gmail.com> wrote: > > > > > On Apr 7, 9:52 am, zxynax <zxy...@gmail.com> wrote: > > > > I thought that's what you intended. But as I'm the one who's > > > obviously not understanding something very simple - like the example > > > in the deployment recipe section - I'm the one waving the idiot banner > > > and as such have had all powers of assumption revoked. > > > > Anyway, I have enabled the site that utilizes the WGSI Directives. > > > I'm able to navigate to the IP associated with the server and view the > > > welcome page in all it's orange and bold text glory. > > > > One of the main differences to my config as to the examples is that > > > Alias Directive line: > > > "Alias / /home/web2py/applications/" > > > In my config I have that commented out. As when I have it uncommented > > > it doesn't allow WSGI to run. > > > Odd... mine doesn't show the applications just the file list. I've > > tarred and gzipped my /etc/apache2 directory and put it here: > > >http://www.snipes.org/apache2.tar.gz > > > This is from a test box so nothing important to me in it. > > > Brian- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---