Posted by:
toivo
(---.belrs4.nsw.optusnet.com.au)
If you create a virtual host for your domain, you do not need the folder in the URL. You need to uncomment the link to the virtual host definitions in the httd.conf file in the conf subfolder under Apache:
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
Include conf/extra/httpd-vhosts.conf
The file conf/extra/httpd-vhosts.conf has two sample sites but you should also define the document root directory for your site, for example:
<VirtualHost *:80>
ServerName joomla250
ServerAlias www.joomla250
DocumentRoot "c:\www\joomla250beta1"
ServerAdmin firstname.lastname@email.com
ErrorLog "logs/joomla250-error.log"
CustomLog "logs/joomla250-access.log" common
<Directory c:\www\joomla250beta1>
DirectoryIndex index.php
Options None
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
The virtual host settings are documented at the Apache site: [
httpd.apache.org]
Keep in mind that the first virtual host is the default site, if someone browses to the site with an IP address or a subdomain for which you have not defined a ServerName or ServerAlias in a virtual host.