Virtualhost in Apache (wildcard and static domain)?

Try this, you can use apache s location directive to force the directory-root VirtualHost *:80> ServerName example. Com ServerAlias example.com DocumentRoot /var/www/dir1 ServerName *.example. Com DocumentRoot /var/www/dir2.

Try this, you can use apache's location directive to force the directory-root ServerName example. Com ServerAlias example.com DocumentRoot /var/www/dir1 ServerName *.example. Com DocumentRoot /var/www/dir2 Remember the first VirtualHost takes precedence.

Try doing it like... NameVirtualHost *:80 DocumentRoot = /var/www/dir1 ServerName d1.example. Com DocumentRoot = /var/www/example ServerName example. Com DocumentRoot = /var/www/someotherdir ServerName other.example.Com ServerAlias *.example.

Com Taken from my working setup (obviously trimmed a little! ).

DocumentRoot = /var/www/wildcard" rel="nofollow">www/wildcard ServerName other.example. Com ServerAlias *.example. Com This is not working.It is only forking for other.example.com.

When I'm browsking to aaaa.example. Com is is loading content form /var/www/example not from /var/www/wildcard" rel="nofollow">www/wildcard – Petter Jul 7 at 8:33 Edited my example... – Brian Jul 7 at 9:08.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions