i did what Kenneth said , and i am restarting the Apache everything i
change anything , i am using a VPS at arvixe.com  i have IIS running
on localhost:80 and apache running on localhost:8080 and its really
good locale now i just want to make a domain go to localhost:8080 and
then i will handle it from routes.py , this is what i did :

Listen 8080
servername : localhost:8080
NameVirtualHost *:8080
<VirtualHost *:8080>
DocumentRoot "C:/web2py/applications"
ServerName www.domain.com
ServerAlias www.domain.com
<Directory "C:/web2py">
Order allow,deny
Deny from all
</Directory>
<Location "/">
Order deny,allow
Allow from all
</Location>
<LocationMatch "^(/[\w_]*/static/.*)">
Order Allow,Deny
Allow from all
</LocationMatch>
WSGIScriptAlias / "C:/web2py/wsgihandler.py"
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access.log common
</VirtualHost>

Reply via email to