<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">I use FC3 as the web server with 2 lan cards [intranet and internet ] instead of the former RH9 . I also use multiple virtualhost named for my domain with the
httpd.conf following below:-</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman"></font><br><font face="Times New Roman">NameVirtualHost *:80<br><br><VirtualHost *:80><br>DocumentRoot /var/www/html/itcenter<br>ServerName
<a href="http://itcenter.sss.go.th">itcenter.sss.go.th</a><br><Directory "/var/www/html/itcenter"><br>allow from all<br>Options +Indexes<br></Directory><br>IndexOptions<br>DirectoryIndex index.php<br>
</VirtualHost></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman"> </font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman"><VirtualHost *:80><br>DocumentRoot /var/www/html/www<br>ServerName <a href="http://www.sss.go.th">www.sss.go.th</a><br><Directory "/var/www/html/www">
<br>allow from all<br>Options +Indexes<br></Directory><br>IndexOptions<br>DirectoryIndex index.php<br></VirtualHost></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman"> </font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">and so so …………</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman"> </font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">It seems that the client could access the web just only from the first lan card and not the second one.</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">If I change the config to</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">NameVirtualHost <a href="http://192.168.0.1:80">192.168.0.1:80</a><br>NameVirtualHost <a href="http://203.157.2.28:80">203.157.2.28:80</a><br>
and also </font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman"><VirtualHost <a href="http://192.168.0.1:80">192.168.0.1:80</a>></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">….</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">And</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman"><VirtualHost <a href="http://203.157.2.28:80">203.157.2.28:80</a>></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">….</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">The result still be the same that is we could access the web only from the former lan card not the latter lan card.</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman"> </font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">How could I config the httpd.conf to access virtualhost from both lan cards?</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">Thank you</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">Amrit</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">Thailand</font></p>