[Solved] Want to change Apache Alias

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
kkruecke
Forum Members
Forum Members
Posts: 10
Joined: Wed Feb 06, 2008 8:24 pm

[Solved] Want to change Apache Alias

Post 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
Last edited by kkruecke on Thu Jan 15, 2009 12:17 am, edited 1 time in total.
kkruecke
Forum Members
Forum Members
Posts: 10
Joined: Wed Feb 06, 2008 8:24 pm

[Solved]Re: Want to change Apache Alias

Post by kkruecke »

You only need to change the
$config['root_url'] = 'http://www.mysite.org/subdir';

in config.sys
Post Reply

Return to “The Lounge”