Simon Leung
asked on
Configure Apache
How to configure Apache server such that access to the public ip of the server will automatically redirect me to the ./web/index.php
vhost.conf
<VirtualHost *:80>
ServerAdmin mis@abc.com
ServerName abc.com
ServerAlias www.abc.com
DocumentRoot /var/www/html/mec/
##ErrorLog /var/www/html/example.com/ logs/error .log
##CustomLog /var/www/html/example.com/ logs/acces s.log combined
</VirtualHost>
Thx
vhost.conf
<VirtualHost *:80>
ServerAdmin mis@abc.com
ServerName abc.com
ServerAlias www.abc.com
DocumentRoot /var/www/html/mec/
##ErrorLog /var/www/html/example.com/
##CustomLog /var/www/html/example.com/
</VirtualHost>
Thx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
to ServerName IP address