whodat

No Profile Photo

Real Name: Pete Hudeck

Engineer

whodat's latest contributions

  • Permissions in Windows2000

    I am trying to set up WAMP on my old laptop (Windows2000). Everything seems to work until I try and create a subdomain under localhost.

    I use the following in the httpd-vhosts.conf file:

    NameVirtualHost *:80

    DocumentRoot “C:/wamp/www/”
    ServerName localhost
    DirectoryIndex index.php index.html index.htm

    DocumentRoot “C:/wamp/www/e2w/”
    ServerName e2w.localhost
    DirectoryIndex index.php index.html index.htm

    And I have uncommented the following linein httpd.conf:

    Include conf/extra/httpd-vhosts.conf

    It all seems to work but I get the following error in my web browser:

    Forbidden
    You don't have permission to access / on this server.

    When I have the include line commented I am able to see with index.php file that I have in both directories.

    So my question is how do I set the permissions in Windows 2000 so that subdomains will work?

    Thanks,
    Pete