You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Csanyi Pal <cs...@gmail.com> on 2011/07/13 19:16:21 UTC
[users@httpd] Apache Module mod_alias or?
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
Re: [users@httpd] Apache Module mod_alias or?
Posted by Nick Kew <ni...@webthing.com>.
On 13 Jul 2011, at 18:16, Csanyi Pal wrote:
> 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
Just set your documentroot and stop over-complicating it.
--
Nick Kew
Available for work, contract or permanent
http://www.webthing.com/~nick/cv.html
---------------------------------------------------------------------
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