httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Csanyi Pal <csanyi...@gmail.com>
Subject [users@httpd] Apache Module mod_alias or?
Date Wed, 13 Jul 2011 17:16:21 GMT
Hi,

I have on Debian GNU/Linux Squeeze an Apache2 server.

My FQDN is csanyi-pal.info

I have installed Drupal6, an open source content management platform.

In /etc/apache2/conf.d/@drupal6.conf that is a symlink to
/etc/drupal/6/apache.conf is the following setup:

--->
Alias /drupal6 /usr/share/drupal6

<Directory /usr/share/drupal6/>
        Options +FollowSymLinks
        AllowOverride All
        order allow,deny
        allow from all
</Directory>
---<

In /etc/apache2/sites-enabled/@000-default that is a symlink to
/etc/apache2/sites-available/default is the following setup:

--->
<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>
---<

What I'm trying to achieve is that that if one open my website on
address: 

http://csanyi-pal.info 

then the Apache2 sholud provide actually the

http://csanyi-pal.info/drupal6

webpage.

How can I achieve this?

-- 
Regards, Paul


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message