0

I use zend-framework 1.12 My application's quick start path is project.local

I can use zend-framework host rout in localhost.

I can't access username.project.local. username.projetc.local is routed project.local/default/users/profile/uname/username

Thank you.

Usukhbaatar
  • 75
  • 1
  • 6

1 Answers1

0

add in xampp\apache\conf\extra\httpd-vhosts.cnf

<VirtualHost *:80>
 DocumentRoot "opt/lampp/htdocs/your_project_directory" 
 ServerName username.project.local
</VirtualHost>

if you are using windows add windows/system32/drivers/etc/host file entry

127.0.0.1 username.project.local

or see this How do I create a VirtualHost on Zend Server?

hope this will help you.

Community
  • 1
  • 1
liyakat
  • 11,825
  • 2
  • 40
  • 46