1

How to make cusom vhost in apache?

view story
linux-howto

http://serverfault.com – How to use custom virtual host in apache like nginx? Nginx example: server { listen 80; server_name ~^(.*).dev.domain$; location / { proxy_pass http://$1.domain:8080; proxy_set_header X-Real-IP $remote_addr; } } In apache i planed like this: <VirtualHost *:8080> DocumentRoot /home/$1 ServerName (.*).mrtigra.info </VirtualHost> (HowTos)