Co ciekawe jeśli usunę virtualhosta z xampp wtedy projekt zend się odpala pod http://zend natomiast niewidoczny jest katalog z xampp czyli C:/xampp/htdocs
Plik C:\WINDOWS\system32\drivers\etc\hosts
Cytat
127.0.0.1 localhost
127.0.0.1 zend
127.0.0.1 zend
Plik C:\xampp\apache\conf\extra\httpd-vhosts.conf
Cytat
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost:80
ServerAdmin postmaster@localhost
<Directory "C:/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/Documents and Settings/piotr/Moje dokumenty/NetBeansProjects/RentAFlat-Zend/public"
ServerName zend
ServerAdmin postmaster22@localhost
# This should be omitted in the production environment
SetEnv APPLICATION_ENV development
<Directory "C:/Documents and Settings/piotr/Moje dokumenty/NetBeansProjects/RentAFlat-Zend/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost:80
ServerAdmin postmaster@localhost
<Directory "C:/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/Documents and Settings/piotr/Moje dokumenty/NetBeansProjects/RentAFlat-Zend/public"
ServerName zend
ServerAdmin postmaster22@localhost
# This should be omitted in the production environment
SetEnv APPLICATION_ENV development
<Directory "C:/Documents and Settings/piotr/Moje dokumenty/NetBeansProjects/RentAFlat-Zend/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
W netbeans mam ustawione tak:
Project URL: http://zend
Index File: public/index.php