I know this kind of question have been asked million times already, and i've read most of them and applied most of the solutions out there, mine is just not working.

I've been struggling for a while now to get this working.I have IIS7 listening on port 80, xampp1.7.3 on 8081 and zend server ce 5.0.2 on 8082.

wanted to have magento on zendserver so i created magento.conf in the conf folder and included it in the httpd.conf file after the zend.conf includes. the file looked like this:

<VirtualHost 127.0.0.1:8082>
  DocumentRoot "C:\Program Files\Zend\magento"
  ServerName localimall.dev
  ServerAlias www.localimall.dev *.localimall.dev localimall.dev
  ErrorLog "C:\Program Files\Zend\magento\logs\error.log"
  CustomLog "C:\Program Files\Zend\magento\logs\access.log" combined

  <Directory "C:\Program Files\Zend\magento">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>

and added the domain in the system32/drivers/etc/hosts file

    #127.0.0.1       localhost
#::1             localhost

     127.0.0.1      localimall.dev

Works fine.Afterwards i realized i could not access the the main localhost:8082 anymore but magento.it's always redirecting to the magento domain. so i removed the included and uncommented the httpd.vhosts.conf and edited the the file which looks like this now :

NameVirtualHost *:8082
<VirtualHost 127.0.0.1:8082>
  DocumentRoot "C:\Program Files\Zend\Apache2/htdocs"
  ServerName localhost
</VirtualHost>

<VirtualHost *:8082>
  DocumentRoot "C:\Program Files\Zend\magento"
  ServerName localimall.dev
  ServerAlias www.localmall.dev *.localmall.dev localmall.dev
  ErrorLog "C:\Program Files\Zend\magento\logs\error.log"
  CustomLog "C:\Program Files\Zend\magento\logs\access.log" combined

  <Directory "C:\Program Files\Zend\magento">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>

and host files looks lie this:

    127.0.0.1       localhost  
  ::1             localhost

    127.0.0.1      localimall.dev

I'm not really sure this is related to magento itself but it's .htaccess is like so :

DirectoryIndex index.php

#php_value memory_limit 64M
php_value memory_limit 128M
php_value max_execution_time 18000

php_flag magic_quotes_gpc off

php_flag session.auto_start off

php_flag suhosin.session.cryptua off

php_flag zend.ze1_compatibility_mode Off

SecFilterEngine Off
SecFilterScanPOST Off

SSLOptions StdEnvVars

Options +FollowSymLinks
RewriteEngine on

#RewriteBase /magento/


RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_URI} !^/(media|skin|js)/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* index.php [L]

AddDefaultCharset Off
#AddDefaultCharset UTF-8

ExpiresDefault "access plus 1 year"

Order allow,deny
Allow from all

Now i cannot access magento anymore but the default localhost:8082.whenever i type localmall.dev.it points me to localhost:8082 default page. I gave up at this point and wanted to create magento virtualhost on a different port that is 8083. and tried this

NameVirtualHost 127.0.0.1:8083 Listen 8083

#<VirtualHost 127.0.0.1:8082>
# DocumentRoot "C:\Program Files\Zend\Apache2/htdocs"
# ServerName localhost  
#</VirtualHost>



<VirtualHost *:8083>
   DocumentRoot "C:\Program Files\Zend\magento/"
   #ServerName localimall.dev
   #ServerAlias http://www.localimall.dev *.localimall.dev localimall.dev
   ErrorLog "C:\Program Files\Zend\magento\logs\error.log"
   CustomLog "C:\Program Files\Zend\magento\logs\access.log" combined

   <Directory "C:\Program Files\Zend\magento/">
     #Options Indexes FollowSymLinks
     AllowOverride All
     #Order allow,deny
     Allow from all
   </Directory>
</VirtualHost>

with this i could now access localhost:8082 which poinst me to zend server default page but when i type localimall.dev:8083 it opens themagento index page but then all other resources css,javascript/some images are kinda locked inlocalimall:8082 from net panel in firebug.

Is there any basic thing i missing or any thing so obvious i fail to see? because this silence from a so active community as serverfault just surprises me.What should i do?I'm pressured by time i'm supposed to get this working since last monday.Please do point me to any resources , anytime at all, i need to get going.

And thank for reading this long post, since there has been no responses so far i was oblige to be as much as detailed possible. Thanks for reading anyway!!

link|improve this question
People i really really need this.Please!!! this is a blocker!! – black sensei Sep 3 '10 at 17:15
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.