[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Ross Peoples
If you run Apache on port 80, you can setup an Apache site to proxy to another web server. For example, I have this Apache site file to forward all requests for domain2.com to another web server on the local network: ServerName domain2.com Order deny,allow Allow from a

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
how can i use an HTTP proxy ?

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Ross Peoples
Ok, that's what I thought. You cannot do this easily. There are only two way that I know of to make this happen: configure your router to map port 80 to 8080 internally (breaking IIS), or to use an HTTP proxy. The reason being that whenever you go to a URL, it implicitly connects to port 80. And

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
i want when someone go to www.mydomain.com he will go to localhost: 8080

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Ross Peoples
Are you trying to make http://domain.com:8080 go to localhost:8080, or are you expecting http://domain.com(:80) to go to localhost:8080?

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
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

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Ross Peoples
Using what Kenneth just said, are you trying to access web2py using this URL? http://domain.com:8080/ Also, are you restarting Apache every time you make a change?

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
its not working !!

Re: [web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Kenneth Lundström
ServerAlias www.domain.com or if you don't want to use localhost at all anymore you can replace ServerName localhost with ServerName www.domain.com Kenneth i did all that : LoadModule wsgi_module modules/mod_wsgi.so Listen 8080 servername : localhost:8080 NameVirtualHost *:8080 Docume

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
i did all that : LoadModule wsgi_module modules/mod_wsgi.so Listen 8080 servername : localhost:8080 NameVirtualHost *:8080 DocumentRoot "C:/web2py/applications" ServerName localhost Order allow,deny Deny from all Order deny,allow Allow from all Order Allow,Deny Allow from all WSGIScr

Re: [web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Francis Kayiwa
On Tue, Jan 10, 2012 at 5:12 AM, Web2Py Freak wrote: > i have IIS on port 80  i want it on port 8080 !! On your apache config file change the listen 80 to say listen to 8080 Cheers, ./fxk -- Past hissy-fits are not a predictor of future hissy-fits --Nick Holland

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
i have IIS on port 80 i want it on port 8080 !!