Let's discuss this on web2py developers.
On Saturday, 19 October 2013 14:41:32 UTC-5, Niphlod wrote:
>
> perfect.
>
> @all: should web2py ship with the revised aliases for any scripts that
> involves statics to be served off a webserver ? I think it's the right time
> to do so...
>
> On Saturda
perfect.
@all: should web2py ship with the revised aliases for any scripts that
involves statics to be served off a webserver ? I think it's the right time
to do so...
On Saturday, October 19, 2013 9:09:10 PM UTC+2, Tim Richardson wrote:
>
>
>
> O
>>
>> AliasMatch
>> ^/([^/]+)/static/*(?:_[\d
O
>
> AliasMatch
> ^/([^/]+)/static/*(?:_[\d]+.[\d]+.[\d]+/)?*(.*)/home/www-data/web2py/applications/
> $1/static/$2
>
This fixes the problem. I looked at the latest contents of the apache
script and modified /etc/apache2/sites-available/web2py accordingly.
I made changes to two lines: both i
On Saturday, October 19, 2013 11:15:22 PM UTC+11, Niphlod wrote:
>
> please, try to fetch i.e. the calendar.css from this pseudo-location with
> any browser
>
> /welcome/static/css/calendar.css
>
this retrieves the css displayed in the browser
>
> and then from
>
> /welcome/static/_1.2.3/css
I have this problem as well on an apache ubuntu installation. The
deployment was done a couple of months ago using the setup script, so I've
not made any changes to apache configuration. admin just stopped working.
On Friday, October 18, 2013 11:01:50 AM UTC+11, frasse wrote:
>
> I have restar
please, try to fetch i.e. the calendar.css from this pseudo-location with
any browser
/welcome/static/css/calendar.css
and then from
/welcome/static/_1.2.3/css/calendar.css
if both work, then the new admin is not responsible. If only the former
works, then your apache config has a problem.
O
it shouldn't, but did you remove that to see if it's indeed the problem ?
On Friday, October 18, 2013 2:01:50 AM UTC+2, frasse wrote:
>
> I have restart my apache. The only change I have in my web2py configration
> is in routes.py and it is like this
>
> routers = dict(
>
> # base router
>
Same thing here, even with the new alias and restarting apache the admin
doesn't look as it should be.
Em quinta-feira, 17 de outubro de 2013 21h01min50s UTC-3, frasse escreveu:
>
> I have restart my apache. The only change I have in my web2py configration
> is in routes.py and it is like this
>
I have restart my apache. The only change I have in my web2py configration
is in routes.py and it is like this
routers = dict(
# base router
BASE = dict(
default_application = 'myapp',
default_controller = 'start',
),
)
can this be a problem ?
Thanks
/F
Den torsdagen
you have some other error elsewhere or you didn't restart apache after the
change. It works flawlessly.
On Thursday, October 17, 2013 11:24:47 AM UTC+2, frasse wrote:
>
> Hi Niphlop
> It is not working for me.
> I change AliasMatch to this
> Ange AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]
Hi Niphlop
It is not working for me.
I change AliasMatch to this
Ange AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]+/)?(.*) \
/var/web2py/applications/$1/static/$2
Order Allow,Deny
Allow from all
koden här...
Bu I have to remove
https://github.com/web2py/web2py/blob
Thank you for the explanation, Niphlod. I've updated my AliasMatch, and
that is working for me.
Mark Abajian
On Wednesday, October 16, 2013 12:07:53 PM UTC-7, Niphlod wrote:
>
>
> AliasMatch
> ^/([^/]+)/static/*(?:_[\d]+.[\d]+.[\d]+/)?*(.*)/home/www-data/web2py/applications/
> $1/static/$2
>
>
you should use another syntax to have static files served with
static_version enabled.
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-ubuntu.sh#L110
For the ones not really accustomed with regexes, all we're trying to do is
the following
We have a file
/appname/static/a
Hi
here is how my config look lik. is it what you think it should be. it is
not working . But it works for older version.
Thanx
/F
AliasMatch ^/([^/]+)/static/(.*) \
/var/web2py/applications/$1/static/$2
Order Allow,Deny
Allow from all
Den onsdagen den 16:e okto
I am using apache-wsgi-web2py . Should I config static file in apache
config files for all app in web2py applications ?
/frasse
Den onsdagen den 16:e oktober 2013 kl. 11:28:17 UTC+2 skrev Niphlod:
>
> did you configure your webserver to allow the static files to be served
> with folder ver
did you configure your webserver to allow the static files to be served
with folder versioning ?
as a quick way to restore things as they were is to remove this line
https://github.com/web2py/web2py/blob/master/applications/admin/models/0.py#L84
from the file.
But, you'll be missing quite an im
16 matches
Mail list logo