I've got a local demonstration of Apache on my small computer for development reasons, I am attempting to give a site directory, to Apache's httpconf file, that consists of some sample web programs I am attempting to debug using Eclipse. Your directory I am attempting to add is the following:

C:Eclipse_WorkspacedummyWeb

After adding the road, I restarted Apache and attempted to go in a URL as :

http://localhost/Eclipse_Workspace/dummyWeb/enterGreeting.php

However I obtain the 404 error page. I am unsure what I must do in order to to obtain the page to spread out correctly. I am a new comer to Apache server configuration and am using ApacheConf Lite like a GUI-based server configurations editor. The brand new directory I put in the httpconf file appears like this:

<Directory "C:\Eclipse_Workspace\dummyWeb">
  Options All
  Allow from All
  Order Allow,Deny
  AllowOverride None
</Directory>

I additionally attempted making the final slash a forward slash such as the default root directory:

<Directory "C:\Eclipse_Workspace/dummyWeb">
  Options All
  Allow from All
  Order Allow,Deny
  AllowOverride None
</Directory>

In comparison towards the default root:

<Directory "C:\Program Files\Zend\Apache2/htdocs">
  # 
  # Possible values for the Options directive are "None", "All",
  # or any combination of:
  # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  # 
  # Note that "MultiViews" must be named *explicitly* --- "Options All"
  # doesn't give it to you.
  # 
  # The Options directive is both complicated and important.  Please see
  # http://httpd.apache.org/docs/2.2/mod/core.html#options
  # for more information.
  Options FollowSymLinks Indexes
  # 
  # AllowOverride controls what directives may be placed in .htaccess files.
  # It can be "All", "None", or any combination of the keywords:
  # Options FileInfo AuthConfig Limit
  Allow from all
  # 
  # Controls who can get stuff from this server.
  Order allow,deny
  AllowOverride None
  # 
  # Note that from this point forward you must specifically allow
  # particular features to be enabled - so if something's not working as
  # you might expect, make sure that you have specifically enabled it
  # below.
  # 
  # 
  # This should be changed to whatever you set DocumentRoot to.
</Directory>

However I get 404, what shall we be held missing? Any assistance is appreciated.

Another particulars, I am while using Zend Server Community Edition for PHP web design and Eclipse with PDT. Let me have the ability to debug PHP web programs through Eclipse.

UPDATE:

Appears like adding an alias may be what I am searching for. Unsure the way they work though, presently reading through through Apache documentation.

UPDATE 2:

Bingo! Appears like adding an alias have been effective. The appropriate lines of configuration are the following:

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "C:\Program Files\Zend\Apache2/htdocs"

.

.

.

.

<IfModule alias_module>
  # 
  # Redirect: Allows you to tell clients about documents that used to
  # exist in your server's namespace, but do not anymore. The client
  # will make a new request for the document at its new location.
  # Example:
  # Redirect permanent /foo http://www.example.com/bar
  # 
  # Alias: Maps web paths into filesystem paths and is used to
  # access content that does not live under the DocumentRoot.
  # Example:
  Alias /webpath "C:/Eclipse_Workspace/dummyWeb/"
  <Directory "C:/Eclipse_Workspace/dummyWeb/">
  Options Indexes FollowSymLinks MultiViews ExecCGI
  AllowOverride All
  Order allow,deny
  Allow from all
  </Directory>
  # 
  # If you include a trailing / on /webpath then the server will
  # require it to be present in the URL.  You will also likely
  # need to provide a <Directory> section to allow access to
  # the filesystem path.
  # 
  # ScriptAlias: This controls which directories contain server scripts.
  # ScriptAliases are essentially the same as Aliases, except that
  # documents in the target directory are treated as applications and
  # run by the server when requested rather than as documents sent to the
  # client.  The same rules about trailing "/" apply to ScriptAlias
  # directives as to Alias.
  ScriptAlias /cgi-bin/ "C:\Program Files\Zend\Apache2/cgi-bin/"
</IfModule>

Therefore if I punch within the following URL: http://localhost/webpath/, I'll obtain a directory listing the following:

enter image description here

Brandon, just suggestion. I wish to keep your document root intact, I am likely to customize the alias to maneuver up one directory, i.e. C:/Eclipse_Workspace/ to ensure that I get access to debug my web programs within the eclipse workspace. This link also provided a great tip on the potential Gotcha when adding an alias.

Last, although not least, for anybody thinking about establishing an easy PHP Development atmosphere, this PDF document demonstrated a really valuable resource, make certain to do as instructed. I made use of the all-in-one package tools provided on Zend's website, they virtually include everything as they are.