views:

62

answers:

0

Hi,

I am using Zend Server CE with windows XP. I am trying Virtual host. My server port is 8080. Server default document root is C:\Zend\Apache2\htdocs. and my project is on c:\workspace\projectname

My Virtual host file is as follows.

NameVirtualHost *:8080


<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

<VirtualHost *:8080>
    ServerName zend.rahul.com
    ServerAlias zend.rahul.com

    DocumentRoot C:/Zend/Apache2/htdocs/

    ServerAdmin [email protected]

    <Directory "C:/Zend/Apache2/htdocs/">

     Options Includes FollowSymLinks MultiViews
     AllowOverride None
     Order allow,deny
     Allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:8080>
    ServerName projectname.rahul.com
    ServerAlias projectname.rahul.com

    DocumentRoot C:/workspace/projectname/

    ServerAdmin [email protected]

    <Directory "C:/workspace/projectname/">

     Options Includes FollowSymLinks MultiViews
     AllowOverride None
     Order allow,deny
     Allow from all
    </Directory>
</VirtualHost>

zend.rahul.com is working fine. but projectname.rahul.com is not working. it show

"Configuration file was not found. Url invalid."

what might be the wrong in this. because same thing is working on wamp.

Thanks Rahul Waghmare