Treat URL path as virtual host using Apache

Viewed 32099

The problem is that I have only one domain name on which three different products need to be run (two of them PHP based and one python). So I need to treat the path in the URL as a different virtual host; i.e.:

www.domain.com/first_URL/
www.domain.com/second_URL/
www.domain.com/third_URL/

Where the first to third will act as separate virtual hosts.

How can I do this?

4 Answers
Related