Hello Johann,
I think you have toi move the "servername" directiove out of the
virualhost config block as in
ServerName "www.yourdomain.com"
NameVirtualHost *:80
<VirtualHost *:80>
#
=========================================================================
# Apache server settings
# Author : xxxxx
# Date : June 2008
#
=========================================================================
ServerAdmin [EMAIL PROTECTED]
ServerSignature Off
and so on
On Dec 7, 1:44 am, Johanm <[EMAIL PROTECTED]> wrote:
> Attaching my web2py config file (havent bothered about SSL stuff yet,
> just want to get the initial stuff working)
> the owner of the folders is www-data
>
> ### for requests on port 80
> NameVirtualHost *:80
> <VirtualHost *:80>
> ### set the servername
> ServerName localhost
> ### alias the location of applications (for static files)
> Alias / /var/www/web2py/applications/
> ### setup WSGI
> WSGIScriptAlias / /var/www/web2py/wsgihandler.py
> WSGIDaemonProcess web2py user=www-data group=www-data \
> home=/var/www/web2py/ \
> processes=10 maximum-requests=500
> ### static files do not need WSGI
> <LocationMatch "ˆ(/[\w_]*/static/.*)">
> Order Allow,Deny
> Allow from all
> </LocationMatch>
> ### everything else goes over WSGI
> <Location "/">
> Order deny,allow
> Allow from all
> WSGIProcessGroup web2py
> </Location>
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> CustomLog /var/log/apache2/access.log common
> </VirtualHost>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---