Forum Moderators: phranque

Message Too Old, No Replies

zend server ce virtualhost on port 8083 headache.i need help!

         

highjo

2:47 pm on Sep 4, 2010 (gmt 0)

10+ Year Member



Hello Gurus !

I've just join this forum.I've been posted this issue in various community i belong and up to now haven't receive any single feedback.I hope here will be different.Thanks

i know this is a classic question that people have ask multiple times but i believe this case is slightly different and I've been struggling with this for one full week now and resources on the internet are just not working with me.i have on windows 7 IIS port 80, xampp 1.7.3 port 8081 and recently zend server ce 5.0.2 port 8082.i manage to install magento on zendserver and after that i could not access the default page for zendserver as in 127.0.0.1:8082.It's point's me to the magento domain which i called localimall (i've added the domain in system32/drivers/etc/hosts file). it was looking like this

<VirtualHost 127.0.0.1:8082>
DocumentRoot "C:\Program Files\Zend\magento"
ServerName localimall.dev
ServerAlias [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



i've added the root virtualhost on top of the virtualbox i created and added NameVirtualHost like this

NameVirtualHost *:8082
<VirtualHost 127.0.0.1:8082>
DocumentRoot "C:\Program Files\Zend\Apache2/htdocs"
ServerName localhost
</VirtualHost>
# ....
#.....
and uncommented the localhost below

127.0.0.1 localhost
::1 localhost

127.0.0.1 localimall.dev



Now i can't access magento but rather the zendserver default page.as in localmall points to 127.0.0.1:8082.I gave at this point and wanted to create magento virtualhost on a different port that is 8083.
with 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 [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>



this got me one step closer to what i want.i can see the index page of magento but then all the other resources are on port 8082 like depicted on the image here : [url] [forums.devnetwork.net...] [/url].
the magento .htaccess is like so :


DirectoryIndex index.php

<IfModule mod_php5.c>

# 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

</IfModule>

<IfModule mod_security.c>

SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

<IfModule mod_deflate.c>

text/css text/javascript

</IfModule>

<IfModule mod_ssl.c>

SSLOptions StdEnvVars

</IfModule>

<IfModule mod_rewrite.c>

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]

</IfModule>

AddDefaultCharset Off
#AddDefaultCharset UTF-8

<IfModule mod_expires.c>

ExpiresDefault "access plus 1 year"

</IfModule>

Order allow,deny
Allow from all




can anyone shed some light please? i really need a hand.Thanks for reading this.