• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI4 virtual host problem

#4
(12-04-2019, 08:51 AM)InsiteFX Wrote: Read this may help you out, I had to rename index.php to index.php.sav so that it
did not keep going to the dashboard.

Xampp localhost/dashboard
My problem is that I can't reach XAMPP's dashboard. If I request "localhost" I expect to see the dashboard of Xampp, instead I get codeigniter's welcome page.

Solved: the httpd-vhosts.conf shall be like this:
Code:
NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot "c:/xampp/htdocs/ci4/public"
ServerName ci4.local
<Directory "c:/xampp/htdocs/ci4/public">
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "c:/xampp/htdocs"
ServerName localhost
<Directory "c:/xampp/htdocs">
</Directory>
</VirtualHost>
Reply


Messages In This Thread
CI4 virtual host problem - by muuucho - 12-04-2019, 03:35 AM
RE: CI4 virtual host problem - by Armin - 12-04-2019, 06:07 AM
RE: CI4 virtual host problem - by InsiteFX - 12-04-2019, 08:51 AM
RE: CI4 virtual host problem - by muuucho - 12-04-2019, 10:41 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.