I am trying to view logs directory on ui for Apache Web server.
So i am trying to establish a new virtual host in httpd-vhosts.conf file and trying to give the document root to the logs folder.
<VirtualHost *:8083>
ServerAdmin tecmint@example.com
DocumentRoot C:/Program Files/Apache Software Foundation/Apache2.2/logs
ServerName localhost
ErrorLog logs/example.com-error_log
CustomLog logs/example.com-access_log common
</VirtualHost>
Also i have given NameVirtualHost *:8083 and in httpd.conf i have Listen 8083. After restarting the server when i hit localhost:8083 it gives 404.
Can u please help me i figuring it out.
Thanks
Aucun commentaire:
Enregistrer un commentaire