...

View Full Version : Virtual Server problem. Any help appreciated.



mOrloff
04-28-2011, 09:45 PM
I've made some progress, but can use a hand to keep moving forward.
(I'm pretty green on all this, so feel free to dummy-proof your replies.:D)

The big picture:
I'm running a WAMP install, and recently downloaded and installed the Zend Framework.
I successfully created a project, and based on the info I'm finding via google, I should set up a virtual server.
As a test run, I went through the process with a smaller existing project, and can successfully browse it.

Here's the meat-and-potatoes of my httpd-vhosts.conf document:


NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "C:/wamp/www"
ServerName localhost
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin webmaster@toplinemessage.com
DocumentRoot "C:/wamp/NetBeansProjects/Topline"
ServerName toplinemessage.com
ErrorLog "logs/topline-error.log"
CustomLog "logs/topline-access.log" common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "C:/wamp/NetBeansProjects/ZendSchool"
ServerName school.zend
ErrorLog "logs/zendSchool-error.log"
CustomLog "logs/zendSchool-access.log" common

# This should be omitted in the production environment
SetEnv APPLICATION_ENV development

<Directory "C:/wamp/NetBeansProjects/ZendSchool/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

</VirtualHost>


If I use my browser to visit toplinemessage.com, I see my project perfectly.
However, if I use my browser to visit school.zend, I get a 403 error (Forbidden. You don't have permission to access / on this server).

By the way, does that forward-slash in the error hint at the problem at all??
It looks like a clue to me, but I don't find any particular meaning in it :)

Once again, any help will be appreciated.
Thanks-a-bunch,
~ Mo

mOrloff
04-29-2011, 05:14 PM
OK, it looks like the issue is not a VS issue after all.
The issue is that Windows has some funky kinda-read-only attribute defined for this entire directory, and it's not allowing me to remove the attribute.

Oh golly, I'm befuddled!

m4rc3
05-08-2011, 11:49 PM
does anything show up on the error log ?

mOrloff
05-09-2011, 08:16 PM
Oh my goodness!
After a million attempts on a thousand suspects, I was finally able to get to the bottom of it.
Soooooo nice! Yay!

First, no, the logs weren't much help.
Sexondly, I'm not sure what change ended up getting me past the 403, but I ended up moving on to a 500 error.

Eventually, we came around to finding that the mod_rewrite extension for apache needed to be installed.

That got us to the point where at I was at least able to access the page. (Now I'm just dealing with some php errors saying that a zend directory can't be found :-).

Thanks, m4rc3, for the attention.
Just to share, I ended up getting some great help on this particular problem at the Apache Lounge Forums (http://www.apachelounge.com/viewtopic.php?t=3987).

Thanks again,
~ Mo

m4rc3
05-12-2011, 04:16 AM
ozom mOrloff !

It's always good to post your problem on several platforms.

itmoneyearn24
05-01-2013, 07:10 PM
The servers are located on two ProLiant 380 servers with internal SAS raided drives. Each server has two datastores. We generally will use VMware Workstation to set up and configure new virtual servers, and then upload them to the server once they've been fully set up. In addition, each of us that upload images to the server are set up with administrative rights within the VMware server roles.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum