Whith the help of webfaction support. I fixed my mistake. This is the brief history. I used the tool of web2py to pack my application. When I unpacked my application, it didn't unpack well all files. I did that two times and in the two cases the errors are in the web2py_ajax.html. We need a tool to check packed and unpacked files.
On 11 sep, 12:24, drayco <antrod...@gmail.com> wrote: > Hi, Dr. Massimo: > > Can you help me please? > > This is my situation: > I have a subdomain inwebfactionwith https. > I can work with default applications of web2py. Even I can put > data in a mysql database. All of that in with my subdomain inwebfaction. > However, when a I request the init application, I can't see > anything. I think, this is because I have a custom style with images > instatic/img > > I tried with this configuration in httpd.conf to fix that. > However, I missed something. > > Thank's a lot, Because You do a great job!. > > ===== START httpd.conf listing ============================== > > ServerRoot "/home/[YOUR ACCOUNT]/webapps/apachewsgi/apache2" > > LoadModule dir_module modules/mod_dir.so > LoadModule env_module modules/mod_env.so > LoadModule log_config_module modules/mod_log_config.so > LoadModule mime_module modules/mod_mime.so > LoadModule rewrite_module modules/mod_rewrite.so > LoadModule wsgi_module modules/mod_wsgi.so > LoadModule alias_module modules/mod_alias.so > LoadModule authz_host_module modules/mod_authz_host.so > > KeepAlive Off > Listen [PORT SPECIFIED BYWEBFACTION] > > WSGIScriptAlias / /home/[YOUR ACCOUNT]/webapps/apachewsgi/web2py/ > wsgihandler.py > WSGIDaemonProcess web2py user=[YOUR ACCOUNT] group=[YOUR ACCOUNT] \ > home=/home/[YOUR ACCOUNT]/webapps/apachewsgi/web2py \ > processes=1 maximum-requests=1000 > > NameVirtualHost 127.0.0.1:[PORT SPECIFIED BYWEBFACTION] > <VirtualHost 127.0.0.1:[PORT SPECIFIED BYWEBFACTION]> > ServerName [YOUR ACCOUNT].webfactional.com > DocumentRoot /home/[YOUR ACCOUNT]/webapps/apachewsgi/web2py/ > applications > <Directory /> > Options FollowSymLinks > AllowOverride None > </Directory> > <Directory /home/[YOUR ACCOUNT]/webapps/apachewsgi/> > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > </Directory> > > <Directory /home/[YOUR ACCOUNT]/webapps/apachewsgi/web2py> > AllowOverride None > Order Allow,Deny > Deny from all > <Files wsgihandler.py> > Allow from all > </Files> > </Directory> > AliasMatch ˆ/([ˆ/]+)/static/(.*) /home/[YOUR ACCOUNT]/webapps/ > apachewsgi/web2py/applications/$1/static/$2 > <Directory /home/[YOUR ACCOUNT]/webapps/apachewsgi/web2py/ > applications/*/static/> > Order Allow,Deny > Allow from all > </Directory> > </VirtualHost> > > LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" > \ > \"%{User-Agent}i\"" combined > CustomLog logs/access_log combined > ServerLimit 2 > ===== END httpd.conf listing ============================== --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---