I have tow virtualhost but when i tried to access to them they keep showin me the default page for apache ... but when i add the directory of projet for exp myvirtualhost.com/mydiroctory it works And here is what i have in conf. part
> NameVirtualHost ***.**.**.**:81
NameVirtualHost ***.**.**.**:82
> #
> # VirtualHost example:
> # Almost any Apache directive may go into a VirtualHost container.
> # The first VirtualHost section is used for all requests that do not
> # match a ServerName or ServerAlias in any <VirtualHost> block.
> #
> #LoadModule proxy_module modules/mod_proxy.so
> #ProxyRequests On
<VirtualHost ***.**.**.**:81>
> ServerName mrh.star.com.tn
> <Directory "/var/www/html/mrh">
>
> Options +ExecCGI Indexes MultiViews FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
>
> ServerAdmin webmaster@star.com.tn
> DocumentRoot "/var/www/html/mrh"
> ErrorLog "logs/mrh-error.log"
> CustomLog "logs/mrh.log" common </VirtualHost>
>
> <VirtualHost ***.**.**.**:82>
> ServerName voyage.star.com.tn
> <Directory "/var/www/html/voyage">
>
>
> Options +ExecCGI Indexes FollowSymLinks MultiViews
> AllowOverride None
> Order allow,deny
> allow from all
> </Directory>
> ServerAdmin webmaster@star.com.tn
> DocumentRoot "/var/www/html/voyage"
>
> ErrorLog "logs/voyage-error.log"
> CustomLog "logs/voyage.log" common </VirtualHost>
it used to work but i dnt know what happen to it , there's nothing in the error logs Any suggestion ?