Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder mOrloff's Avatar
    Join Date
    Nov 2008
    Location
    The Great Pacific NW, USA
    Posts
    424
    Thanks
    8
    Thanked 6 Times in 6 Posts

    Virtual Server problem. Any help appreciated.

    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.)

    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:
    Code:
    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
    ...because it's dundant already.

  • #2
    Regular Coder mOrloff's Avatar
    Join Date
    Nov 2008
    Location
    The Great Pacific NW, USA
    Posts
    424
    Thanks
    8
    Thanked 6 Times in 6 Posts
    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!
    ...because it's dundant already.

  • #3
    New to the CF scene
    Join Date
    May 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    does anything show up on the error log ?

  • #4
    Regular Coder mOrloff's Avatar
    Join Date
    Nov 2008
    Location
    The Great Pacific NW, USA
    Posts
    424
    Thanks
    8
    Thanked 6 Times in 6 Posts

    Resolved

    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.

    Thanks again,
    ~ Mo
    Last edited by mOrloff; 05-09-2011 at 08:18 PM.
    ...because it's dundant already.

  • #5
    New to the CF scene
    Join Date
    May 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ozom mOrloff !

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

  • #6
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •