webmail.* -> webmail.example.com Config?

Alles, was den Apache betrifft, kann hier besprochen werden.

webmail.* -> webmail.example.com Config?

Postby alfgand » 16. December 2010 09:18


is there a way to redirect all specified subdomains to a specific local folder? like this:

I want to attach a subdomain to a local folder but the domain is the wildcard (can be anything) this domain will be used as a folder name. example:

Code: Select all
blog.* -> /home/www/blogs/*

so it goes like this:
blog.example.com -> /home/www/blogs/example.com
blog.blabla123.com -> /home/www/blogs/blabla123.com

I am using apache2, so I can edit the configs or create a .htaccess?
any ideas? Thanks.
User avatar
Posts: 1
Joined: 16. December 2010 09:15

Re: webmail.* -> webmail.example.com Config?

Postby WilliL » 23. February 2011 12:43

Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

Return to Apache

Who is online

Users browsing this forum: No registered users and 2 guests