apache2 fedora10 web2py1.75.5
I set up my web2py.conf virtual host file per the instructions on
p285-288 of the web2py book (2nd edition). The main differences from
the examples are that I'm running Fedora10 and serving web2py on port
8080 for access over a LAN. I also removed "display-name=%{GROUP}"
from the WSGIDaemonProcess directive, per a thread I found on this
group.
I can hit the welcome app fine from other machines by hitting
http://myserverIP:8080. When I click on the link for the
administrative interface, I get a 403 error. When I hit
https://myserverIP:8080/admin I get a 303 error "The connection to
myserverIP:8080 was interrupted while the page was loading."
I'm pretty stuck at this point. Any help would be greatly
appreciated.
Here is my web2py.conf:
<VirtualHost *:8080>
ServerName web2py.order-system.com
WSGIDaemonProcess web2py user=apache group=apache
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>
ErrorLog logs/web2py-error_log
CustomLog logs/web2py-access_log common
</VirtualHost>
LoadModule ssl_module modules/mod_ssl.so
NameVirtualHost *:443
<VirtualHost *:443>
ServerName web2py.order-system.com
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/server.crt
SSLCertificateKeyFile /etc/httpd/ssl/server.key
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>
ErrorLog logs/web2py-error_log
CustomLog logs/web2py-access_log common
</VirtualHost>
--
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.