Hi, Dr. Massimo:

     Can you help me please?

     This is my situation:
     I have a subdomain in webfaction with 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 in
webfaction.
     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
in static/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 BY WEBFACTION]

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 BY WEBFACTION]
<VirtualHost 127.0.0.1:[PORT SPECIFIED BY WEBFACTION]>
    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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to