Dear Voltron, I just tested the whole proxypass thing on my windows box and it works as expected. Looking at your apache confg code below the only thing I see is that DocumentRoot is set incorrectly, if that is really how you have it set that may be the problem. I believe it needs to be set to the actual directory which should be something like
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" If that fails, maybe some info would help, what version of apache are you using? Jose voltron wrote: > > >> Why doesn't it work on Windows? >> > > I´m not sure, exactly why, but even when I do this in my Apache > config: > > DocumentRoot / > ProxyRequests Off > > ProxyPass /css ! > ProxyPass /flash ! > ProxyPass /img ! > ProxyPass /scripts ! > ProxyPass /games ! > ProxyPass /favicon.ico ! > > > > ProxyPass / http://localhost:5000 > ProxyPassReverse / http://localhost:5000 > > The same configuration, using the real domain name works on my Linux > Server, on windows, my development workstation, it fails, all the > templates render without the static content > > >> I have a symbolic link in my public directory pointing to a large >> directory of static files. Not that this addresses your exact >> situation. >> >> > > I have read of ways to create symbolic links on windows, but in case > of pylons, it feels like a hack, it would be cool just to modify the > configuration for development on any os, and when its time to deploy > jszt change the setting or use a different ini file for production, as > it was meant to be. Everything else is sort of "hackish" > > >> Do you have to serve the files through Pylons (e.g., for >> authentication or logging)? What about serving them directly via >> Apache (an Alias directive or "ProxyPass /pubic !")? >> >> > > Hmm, I ´ll try using that. > > > Thanks > >> -- >> Mike Orr <[EMAIL PROTECTED]> >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
