Khairy
Khairy

Reputation: 81

Redirect Web2py requests to apache server

I am using web2py to run some application in the server, and i have also websites created with php running on the same server under apache. Is there a way to redirect requests for web2py to apache based on the domain name used. I have little information about apache so i appreciate some explanation.

thanks.

Upvotes: 1

Views: 74

Answers (1)

rth
rth

Reputation: 11201

Just use Name based Virtual Hosts for Apache. Besides, redirects based on some specific conditions can be implemented with mod_rewrite.

Upvotes: 1

Related Questions