Jump to content

Making My Server More 'Friendly' With Aliases


chesterthebear

Recommended Posts

Hi all.

First, let me apologise in advance if I ask really dumb questions here, or if the question is too long.  I am a total Apache newbie who has decided to take the leap into managing his own server, and I am finding it all a little bewildering.

 

My problem of the day is that I want to make the server more "friendly" for visitors/account holders.

 

The way it's been set up for me, useful stuff is in a very unuseful place.  By that I mean that, say, for a user to access his/her webmail account, they need to type in a very long, hard-to-remember address, something like tlc.xm.ser899876.xyzhost.com/squirrelmail.

 

That address is the same for mail for all domains on the server.  Clearly, what we'd want for our users is something like domain.tld/webmail

 

I am told that I need an Alias, but I'm a little foggy on the idea of creating a universal alias.

 

As a template, I have an alias to our own control panel suite like this...

Alias /control /usr/share/control

<Directory /usr/share/control>

    AllowOverride All

</Directory>

 

That alias is in a file control.conf within the conf.d directory, so I would have expected squirrelmail to have something similar.  It doesn't.

 

Squirrelmail has a conf file 'apache.conf' within its directory, but not in the apache2/conf.d dorectory.

 

Ok... now the question.

How do I set up an alias so that when a user types

domain.tld/webmail, he ends up with squirrelmail at tlc.xm.ser899876.xyzhost.com/squirrelmail, but his address bar doesn't change?

 

Thanks

CTB

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.