I have a dedicated server, and I am trying to set up multiple accounts (multiple domains and Mediawiki installations) with short URLs. If I follow the alias instructions by putting this in the httpd.conf file:
Alias /wiki /home/firstdomainname/www/w/index.php
It basically overrides this for any other domain I set up. Are there instructions on how to do this for multiple domains on a single server?
Thanks, Bobby
By the way, to clarify...basically when I set this up I know have a problem where:
http://www.firstdomainname.com/wiki
Is the same installation as:
http://www.seconddomainname.com/wiki
If I go to:
http://www.firstdomainname.com/w
It is different for now from:
http://www.seconddomainname.com/w
Because I haven't set up the Localsettings.php file yet, but I that shouldn't be part of the problem I have based on my path going to first domain.
On Sat, Oct 25, 2008 at 9:52 AM, Bobby S bobbys@gmail.com wrote:
I have a dedicated server, and I am trying to set up multiple accounts (multiple domains and Mediawiki installations) with short URLs. If I follow the alias instructions by putting this in the httpd.conf file:
Alias /wiki /home/firstdomainname/www/w/index.php
It basically overrides this for any other domain I set up. Are there instructions on how to do this for multiple domains on a single server?
Thanks, Bobby
Bobby S wrote:
Alias /wiki /home/firstdomainname/www/w/index.php It basically overrides this for any other domain I set up.
It shouldn't, as long as you put this inside the VirtualHost declaration, not the top-level server config.
On this:
It shouldn't, as long as you put this inside the VirtualHost declaration, not the top-level server config.
What file should I be putting it in then? Should I be creating a httpd.conf file for each account and putting it in the main account directory?
Bobby S wrote:
What file should I be putting it in then? Should I be creating a httpd.conf file for each account and putting it in the main account directory?
It seems that your problem is not with short URLs, but instead, you didn't even manage to correctly setup multiple virtual hosts in Apache yet.
http://httpd.apache.org/docs/2.2/vhosts/
This is beyond the scope of this list.
mediawiki-l@lists.wikimedia.org