Questions tagged [alias]

In computer sciences, an alias is a name which usually designates an already-named reference.

Aliases are names used to designate objects, items and settings which already possess a name. In *nix systems, they usually serve as :

  • Hostnames ; a machine possesses a unique hostname, which can be surrounded by aliases. On a Linux system, you can find your hostname by typing hostname, whereas the /etc/hosts file might contain other aliases for the IP representation of your machine on its network interfaces.

  • Users ; on *nix systems, each user has a given name, registered in the /etc/passwd file. However, for some other purposes such as email processing, it might be useful to create aliases for users. This can be done in the /etc/aliases file. (e.g. root is usually aliased as the postmaster).

  • Shell commands ; on *nix systems, it is possible to set an alias referencing a command/program (with possible options and arguments). The most common one is probably ll, which designates ls -l (long list). An alias can be created using the alias (man page) command, and destroyed thanks to the unalias bash utility (man page).

One could also consider UNIX links as an implementation of aliases for files (in the UNIX meaning). See ln for more information (man page).

Each application handles its aliases as it wishes to. Some don't even implement this possibility, and expect the administrator to use the real resources names. Please refer to the applications' documentation for more information on specific cases.

332 questions
0
votes
1 answer

Need Apache configuration fixed

Issue: I have loaded Wordpress MU inside of my DocumentRoot. This is working fine however, I now have two projects inside the DocumentRoot that both have a directory with the same name:…
syn4k
  • 569
  • 1
  • 6
  • 12
0
votes
1 answer

DNS: browser shows primary website when other site is visited using any subdomain, ie 'www'

issue: misoncifgured dns? symptom: when i visit http://www.borisnikolaev.com/index.php?option=com_content&view=article&id=51&Itemid=53, it shows what should be on…
vulgarbulgar
  • 739
  • 1
  • 8
  • 14
0
votes
1 answer

SMB Alias Lookup on Windows XP

Should Windows XP be able to do a SMB lookup on an Alias. I have an XP machine that cannot find the files on \Alias but can find them on \host. If I do a ping or nslookup it can resolve the Alias.
OptimAdam
  • 121
  • 1
  • 9
0
votes
1 answer

Postfix forward mail to named pipe

In Postfix I can configure to forward emails to a script in /etc/aliases like mailuser: | mailprocessor.pl If I create a named pipe with mkfifo /opt/mypipe and then change /etc/aliases to write directly to the pipe like mailuser: |…
markus
  • 1,080
  • 5
  • 18
  • 38
0
votes
2 answers

Reverse proxy Nginx error with accessing munin

Now, I have munin setup so that it can be accessed by any virtual domain on my server by adding /munin/ to the end of the virtual domain. Apache alias setup looks like this -> Alias /munin /home/munin/ Now I have just setup nginx as the reverse…
Vish
  • 176
  • 5
0
votes
1 answer

Apache alias to Ruby on Rails application

I have a RoR application that runs in /var/rails/redmine, and would like it to appear as a subdirectory in my Apache server (primarily so I can use a SSL certificate and not muck around with subdomains). My httpd.conf currently has a
ssube
  • 164
  • 1
  • 1
  • 10
0
votes
1 answer

Apache Alias to access folder in different harddrive? (localhost)

Installed Appserv. Made a php. D:/Appserv/www/x/y/file.php Then I have a folder, like "E:/foldie" I want file.php to mess with that folder. I found this somewhere: Alias /foldie/ "E:/foldie" Options…
navand
  • 101
  • 1
0
votes
1 answer

Receiving email from alias - sendmail

I have setted up sendmail on my CentOS server with webmin installed. I've added a few important mail aliases such as this: administrator@mywebsite.com -> to -> myhotmail.com Now when I send an email to administrator@mywebsite.com, I get no email…
MacMac
  • 2,061
  • 10
  • 31
  • 38
0
votes
2 answers

Apache Aliases not working ... but only on some virtual hosts

Running Mac OS X Server with Apache 2.2, and I have a number of virtual hosts configured. We have a content management system that we offer our clients, and have an alias setup to map each individual client to the shared codebase as follows: Alias…
Mister T
  • 1
  • 2
0
votes
3 answers

Apache 403 Error - where is the fault?

My environment: Ubuntu 10.10 Desktop Edition So I am trying to access a file through my localhost and Apache is giving me a 403 error. On /etc/apache2/apache2.conf, I've added this line : # wan27 hostel Include "/home/francoisrv/Ubuntu…
fabjoa
  • 37
  • 1
  • 1
  • 8
0
votes
3 answers

How to dereference Mac OS X alias?

I'm trying to scp a file with it's alias. How can I achieve this?
Eonil
  • 10,459
  • 16
  • 36
  • 54
0
votes
1 answer

Add virtual folder to Apache like it was on htdocs folder

I would like to be able to go to 127.0.0.1/multimedia/any_file.ext and see it like any other folder in htdocs. Here's what I'm trying in the configuration: Alias "multimedia" "F://public_vids/" Options +Indexes …
Jeremy Dicaire
  • 165
  • 1
  • 5
  • 15
0
votes
1 answer

Sendmail - preventing aliased users from receiving multiple copies of the same email

Is there any way to prevent a user from receiving multiple copies of the same email if an email is sent to both an alias for the user as well as the user themselves? For example, suppose bob.smith is a included in the alias list for developers…
MikeQ
  • 101
  • 1
0
votes
1 answer

Aliasing (local) in Sql Server

I've not read (much) into SQL Server aliasing, it feels like a good, simple way to avoid managing configurations across multiple environments (developing on (local) instance, but production is a DbServerName\Instance), and test environments have…
Dave
  • 281
  • 1
  • 3
  • 11
0
votes
1 answer

In Linux (Ubuntu 10.10 server), can I have a host alias for my IP address and its alias IP's?

I have a web server with realIP 192.168.1.1. Perhaps i'll give it IP aliases 10.1.1.1 and 20.1.1.1. I have 3 IP subnets in 1 physical network, 10.1.1.0/24, 20.1.1.0/24 and 192.168.1.0/24. Now what I want to to is I want the users from accross the 3…
user59623