On May 19, 2012, at 10:15 AM, Marian Siwiak wrote:
> ok. now I'm at invalid request level. 
> below I attach my config file. I would appreciate pointing what's wrong with 
> that:

It looks basically OK to me. I suppose you've verified that 
/var/www/web2py/wsgihandler.py really is the path to that file?

Also, do you see that file, and only that file, from sites-enabled?

> 
> <VirtualHost *:80>
>   ServerName nexus.ibb.waw.pl
>   WSGIDaemonProcess web2py user=www-data group=www-data \
>                            display-name=%{GROUP}
>   WSGIProcessGroup web2py
>   WSGIScriptAlias / /var/www/web2py/wsgihandler.py
> 
>   <Directory /var/www/web2py>
>     AllowOverride None
>     Order Allow,Deny
>     Deny from all
>     <Files wsgihandler.py>
>       Allow from all
>     </Files>
>   </Directory>
> 
>   AliasMatch ^/([^/]+)/static/(.*) \
>            /var/www/web2py/applications/$1/static/$2
>   <Directory /var/www/web2py/applications/*/static/>
>     Order Allow,Deny
>     Allow from all
>   </Directory>
> 
>   <Location /admin>
>   Deny from all
>   </Location>
> 
>   <LocationMatch ^/([^/]+)/appadmin>
>   Deny from all
>   </LocationMatch>
> 
>   CustomLog /var/log/apache2/access.log common
>   ErrorLog /var/log/apache2/error.log
> </VirtualHost>
> 


Reply via email to