httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From IrishStudent76 <>
Subject Re: [users@httpd] VirtualHost Question
Date Mon, 07 Feb 2011 22:01:11 GMT

Ok I;m now at the following situation with this.

I've edited my settings for Apache by following this page

I have moved my DocumentRoot to c:/htdocs

I have created a folder c:/WebDocs.

I've edited my httpd-vhosts.conf file to the following please note I've left
out the default code that appears in the file for clarity here.

NameVirtualHost *:80

<Directory C:/WebDocs>
  Order Deny,Allow
  Allow from all

<VirtualHost *:80>
    DocumentRoot C:/htdocs
    ServerName localhost

<VirtualHost *:80>
    DocumentRoot C:/WebDocs/square/
    ServerName square

My problem is that if I enter http://sqaure/ I receive a 403 error "You
don't have permission to access / on this server". However if I enter
http://square/public I the default zend framework index.php page appears.

Can anyone please tell me what I'm missing.



View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message