Page 1 of 1

[Solved] Want to change Apache Alias

Posted: Wed Jan 14, 2009 11:02 pm
by kkruecke
I am running Ubuntu Intrepid with Apache2 on my virtual private server. I successfully installed cmsms, but now I want to change the apache Alias for the virtual host.  I therefore need to change one or more path(s). I don't see how to do this through the admin control panel.
This is what I have in /etc/apache2/sites-availalbe/mysite.org

Code: Select all

<VirrtualHost *:80>
 ServerName mysite.org
 ServerAdmin myemail@pmysite.org
 ServerAlias  www.mysite.org *.mysite.org
 DocumentRoot /var/www/mysite.org
 
 Alias /cms /usr/share/cmsms
 
 ErrorLog     /var/log/apache2/mysite.org-error.log
 CustomLog    /var/log/apache2/mysite.org-access.log combined
 
 <Directory /var/www/mysite.org>
 #Options +ExecCGI +Indexes
 AllowOverride All
 Order allow,deny
 allow from all
 </Directory>
 
 LogLevel warn
 ServerSignature On
</VirtualHost>
I want to change

Code: Select all

Alias /cms /usr/share/cmsms
to

Code: Select all

Alias /deutsch /usr/share/cmsms

[Solved]Re: Want to change Apache Alias

Posted: Thu Jan 15, 2009 12:17 am
by kkruecke
You only need to change the
$config['root_url'] = 'http://www.mysite.org/subdir';

in config.sys