To serve static file directly from machine, we should use following configuration in apache httpd.conf file.
<VirtualHost *:80>
ServerName 192.***.**.***
DocumentRoot /var/www/html
</VirtualHost>
<VirtualHost *:80>
ServerName 192.***.**.***
DocumentRoot /var/www/html
</VirtualHost>
0 comments:
Post a Comment