I have a project in xampp/htdocs/bos.
Whenever I hit http://localhost, I need to land directly to xampp/htdocs/bos
and URL displaying in browser should be http://localhost only, throughout the application.
I have followed similar questions asked already but no luck.
When i create virtual host in file like
DocumentRoot C:/xampplite/htdocs/bos/
ServerName hosted_ip_here
and accessing the same ip from other location within MAN
It will create URL localhost/bos.
I only need hosted_ip_here to be displayed in the URL and not “bos”
i.e. Application Name
2
Answers
you can do one you must have a index.php file in htdocs you can change header location over there
You need to change the php ini file ‘Dir’ to and specify the address