The new apache configuration style has got me all mixed up.  I am running 
apache-2.2.8 and I am also trying to install drupal-5.6 (with vhosts).  
Pointing the browser to localhost works fine, I get the page that says "IT 
WORKS!", but not the Apache logo and picture of a feather as it used to be 
the case.  Does this mean that my new apache installation is not properly 
configured?

Pointing to mywebdomain.co.uk/drupal fails with error 403: 
===================================
Forbidden
You don't have permission to access /drupal/install.php on this server.
Apache Server at mywebdomain.co.uk Port 80
===================================

The only way I have found to get the pages accessible from a browser is to add 
this to /etc/apache2/modules.d/00_default_settings.conf file:
================================================
<Directory "/var/www/mywebdomain.co.uk/htdocs">
        Options FollowSymLinks
        AllowOverride All
        Order deny,allow
        Allow from all
</Directory>
================================================

However, I am not sure that this the correct way to allow access to a vhost.  
Where should I define that this vhost (mywebdomain.co.uk) should be 
accessible from the Internet?

This is my /etc/apache2/vhosts.d/00_default_vhost.conf file, just in case I am 
missing something essential:
================================================
<IfDefine DEFAULT_VHOST>

#Listen 12.34.56.78:80
Listen 80

# Use name-based virtual hosting.
NameVirtualHost *:80

<VirtualHost *:80>
        ServerName localhost
        Include /etc/apache2/vhosts.d/default_vhost.include

        <IfModule mpm_peruser_module>
                ServerEnvironment apache apache
        </IfModule>
</VirtualHost>

<VirtualHost *:80>
        ServerName mywebdomain.co.uk
        ServerAlias  mywebdomain.co.uk *.mywebdomain.co.uk
        DocumentRoot /var/www/mywebdomain.co.uk/htdocs
</VirtualHost>

</IfDefine>
================================================

Can you please advise if I need to change anything in the default Gentoo 
apache configuration to set it up to work with vhosts and drupal?
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to