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 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 den 17:e oktober 2013 kl. 21:17:14 UTC+2 skrev Niphlod: >> >> 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]+/)?(.*) \ >>> /var/web2py/applications/$1/static/$2 >>> >>> <Directory /var/web2py/applications/*/static/> >>> Order Allow,Deny >>> Allow from all >>> </Directory> >>> >>> koden här... >>> Bu I have to remove >>> >>> https://github.com/web2py/web2py/blob/master/applications/admin/models/0.py#L84 >>> >>> To make it work . do you see any error in my config example >>> Thanks >>> /F >>> >>> Den torsdagen den 17:e oktober 2013 kl. 06:50:42 UTC+2 skrev Mark >>> Abajian: >>>> >>>> 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 >>>>> >>>>> The *bold red *part is what has been "added" to web2py's scripts to >>>>> make apache serve the same file if there is a _number.number.number >>>>> "prefix" just right after "static". >>>>> Frasse >>>>> >>>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.