Skip to main content
Jump to: navigation, search

Web Tools Web Site Development Setup

Revision as of 12:23, 30 January 2007 by Bob.fraser22.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

System setup

Another way to create a Virtual Host is to add the following to open the "httpd.conf" file. Scroll to the bottom and add the following section:

<Directory "[workspace_location]">
    Options Indexes FollowSymLinks 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
</Directory>

<VirtualHost 127.0.0.1:8008>
    DocumentRoot [workspace_location]
</VirtualHost>

Replace [workspace_location] with the path to your Eclipse workspace. You don't have to use 8008 but be careful with the port you use to avoid port conflicts with things like application servers. This differs from the Configuring Eclipse with PHPEclipse instructions in that you don't have to edit the hosts file. To access a web page use a URL such as http://127.0.0.1:8008/webtools/main.html.

Back to the top