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

learn more… | top users | synonyms

0
votes
1answer
42 views

Nginx - serving static files

What am I doing wrong here? This works: location / { alias /var/www/static/; try_files $uri index.html =404; } But this doesn't: location /hello { alias /var/www/static/; ...
1
vote
1answer
17 views

File in the same subdirectory as the HTML in CMS

I have a CMS installation with a link such as journal.org/archives/volume136/number10/37362-49383 I want to place a few PDF files in the same directory as the above HTML such that the PDFs are ...
-1
votes
1answer
22 views

Make mydomain.fr “mirror” to mydomain.com/france/

How do I "mirror"/point various specific domain names to a given .com/suburl/? Examples: mydomain.fr > mymaindomain.com/france/ mydomain.se > mymaindomain.com/sweden/ I currently have the ...
0
votes
1answer
828 views

NGINX - Cannot set Cache-control for redirected .js files (with alias + rewrite)

I have successfully setup an nginx server which uses both alias + rewrite as in the below configuration. Everything works except that javascript files are not enforced browser caching. Server url: ...
0
votes
2answers
22 views

Redirect subdomain.domain.org to domain.com which is expired

I have 2 domains and both are on my server and both are registered by me. But the problem is that one of domains expired yesterday and i need to access it's data through the url urgently but i can't ...
0
votes
0answers
24 views

Postfix and PostgreSQL: How to make same aliases work for different domains?

I've currently three domains. I want to setup (mostly) the same aliases for every domain and retrieve the mails on Thunderbird. It already works to send/receive mails for contact@domain1.com, ...
0
votes
2answers
51 views

Finding all aliases for a server

Our network admin is away at the moment. I'm trying to find all aliases attached to a given server on our network (actually a number of servers) After googling around it seems like nslookup might do ...
-1
votes
1answer
39 views

How to Get Rid Off 'index.php' in URI Using Virtual Host and .htaccess File?

I am using a Virtual Host for my Laravel 4 Project on my local host to get rid off typing 'localhost/L4/public/index.php/route'. Laravel also uses a .htaccess file in it's public directory. Both the ...
-1
votes
1answer
184 views

Alias not working in VirtualHost for a domain but works locally on localhost?

I have created a virtual host locally using domain name virtual hosting in which I have used an Alias to a directory pointing to another project on the same server (my local host) as given below: ...
1
vote
1answer
143 views

Why nginx alias returnes 404 on .php files?

This configutation works: location /phpmyadmin { root /usr/share/; index index.php index.html index.htm; location ~ ^/phpmyadmin/(.+\.php)$ { try_files $uri =404; root ...
1
vote
1answer
30 views

Using network drive as alias in Apache 2.2 is not working

OS is Windows 7 Appache is installed in "C:\AppServ\Apache2.2" In httpd.conf for documentroot DocumentRoot "C:/Program Files (x86)/myweb" for alias: alias /link/ ...
0
votes
1answer
54 views

Requesting nginx using a public ip works, but using the host alias doesn't

As the title suggests, I have a public ip address (it's the address for an azure VM running ubuntu server fyi) which has an nginx server listening to requests on port 80. Entering this public address ...
-1
votes
1answer
29 views

What is the Ideal way to spoof files in nginx (alias, try_files or rewrite)

I'm trying to spoof file location by sending long url to the server, the server translate it to the proper php file and return the result, example: I send a link like this: ...
0
votes
0answers
43 views

Nginx problems with alias, photo is not displayed

Here's what I have: /usr/share/nginx/htmlNouveau/images/logo.gif my photo logo.gif; /usr/share/nginx/htmlNouveau/index.html my index.html which is like this: <!DOCTYPE html> <html> ...
1
vote
1answer
37 views

Serving additional directory content under root in Nginx

Using Nginx with Django, I have the following location entry in my server config: location / { include uwsgi_params; uwsgi_pass 127.0.0.1:1234; } Thus, all root URL requests are passed to ...
0
votes
1answer
155 views

Server Aliases on NGINX

I'm moving a site to a new server running on NGINX. The old site's Apache2 VirtualHost has ServerAlias configured that I want to replicate in the NGINX configuration. From what I've read on the ...
4
votes
1answer
374 views

Creating a postfix alias “all@domain.tld” to send to all users of a domain

I'm using Postfix + Dovecot with a MySQL database as backend and PostfixAdmin to administrate users and domains. Now I'm looking for an easy and automated approach to define per-domain alias of the ...
1
vote
0answers
47 views

“Deny from all” not working

I have made following configuration on httpd.conf. But, any IP still can access PHPMyAdmin URLs/aliases. What have I missed? Is this related with "Alias" directive? Alias /phpmyadmin ...
0
votes
1answer
164 views

simple nginx alias not working while trying to serve files other than docuemnt root

i am trying to serve images which are stored in different location other than document root. #avatar files block location ~^/pics/profile/(.*)$ { alias /home/data/site_data/profile/$1; } ...
4
votes
1answer
1k views

DKIM not signing with alias addresses - not internal, not authenticated

I have postfix, dovecot, opendkim and postsrsd installed. I am trying to forward mail from alias@example.com to myemail@gmail.com, and have them signed with DKIM. I use postsrsd in order for the SPF ...
2
votes
1answer
62 views

postfix alias maildir delivering to ~user/Maildir/ instead of ~user/Maildir/alias/

My environment: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) # rpm -q postfix postfix-2.6.6-6.el6_5.i686 # I switched home_mailbox from Mailbox to Maildir/: # ...
0
votes
0answers
26 views

Nginx alias, with query vars

0 down vote favorite I have a directory alias, with the next configuration location ^~ /sub-site { alias /usr/share/nginx/html/sub-site/public; try_files $uri $uri/ @sub-site; location ~* ...
0
votes
0answers
88 views

how to create Alias on IIS server in Windows server 2008 R2

I have a domain and I want to configure public URL for RDWeb Access. My domain provider needs a 301 re-direct in order to create the CNAME entry. So i need to know how can i create an alias of ...
1
vote
0answers
89 views

Host name alias resolves to different computer in network

I have an alias 'DATA-SERVER' for many machines in my network. When I try to access DATA-SERVER from a computer (say Computer A), it resolves to some other Computer C and not to A itself. How do I ...
1
vote
1answer
2k views

ISC DHCP Server listening on virtual interface

I've got an ISC DHCP server 4.2.2 (Debian Wheezy) working. I need to add a second scope for unknown clients that gives them a bogus address (mostly for troubleshooting purposes). However, nothing I ...
2
votes
1answer
102 views

Alias to external address in compound with catchall in mydestinations

I have a mail server that accept emails from any domain. This is accomplished by using the following line in Postfix's main.cf: mydestination = regexp:/etc/postfix/mydestinations.reg and ...
0
votes
1answer
313 views

Adding a VLAN to Multiple Aliased (Virtual) Interfaces

I have a server running centOS 4.6 with 4 NIC ports. I successfully set up 2 ports with 32 virtual interfaces to handle my VLAN-untagged connections and have no issues with that side of things. ...
-3
votes
1answer
47 views

How to set up a CNAME DNS record that will be corresponding to an external website (using Amazon AWS) [closed]

I created an instance of Ubuntu on EC2 and added the DNSs from goddady. I have a page which I want to create an "Alias CNAME" to it. So when entering dashboard.example.com - instead of having this ...
4
votes
2answers
252 views

How to handle external alias with dspam as daemon between postfix and dovecot with virtual domains?

I've got the following situation for incoming mail with Postfix 2.9.6, DSpam 3.10.1 and Dovecot 2.1.7: Incoming Mail -> SMTP -> LMTP -> DSpam (as daemon) -> LMTP -> Dovecot I've got ...
1
vote
2answers
671 views

Dovecot: Email clients and duplicated folders

So in my server I'm usually going against a problem, different emails clients call some special folders like Sent and Trash different names like Sent Items and Deleted Items. My question is, can I in ...
1
vote
1answer
707 views

Postfix using virtual.db file instead of mysql table

I have specified virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf, but still I got errors like warning: hash:/etc/postfix/virtual is unavailable. open database ...
0
votes
1answer
90 views

Will SQL Alias compromise existing connections to [cluster name]/[database name]?

On a migration project we plan to use SQL Alias, since we learned it should be easier to use when moving databases between servers. The plan forward is to continue to move around databases to other ...
0
votes
1answer
252 views

Apache WSGIScriptAlias - skip a certain prefix

The docs for WSGIScriptAliasMatch https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIScriptAliasMatch are openly scary. Is there a way to say "Everything in this directory goes through ...
0
votes
0answers
126 views

nginx: Mapping location with try_files

I'd like to map domain.com/mail to serve content in (absolute path in my server) /var/www/default/mail server { ### MAIN ### server_name .domain.tld; index ...
-3
votes
1answer
1k views

nginx sub-folder with separated root

I have a little problem. I have a wordpress installation in /var/www/xyz/wordpress and now I want to have a piwik installation in the path /var/www/xyz/piwik My current nginx configuration ...
1
vote
1answer
650 views

Aliases in nginx/apache vs CNAME record?

In one of my nginx sites-available configuration file, I can specify a server name alias, like so: server_name example.com www.example.com; If I had an Apache server, I can do something similar ...
10
votes
3answers
6k views

Confused about alias_maps and virtual_alias_maps

I have already re-read the docs on this as well as other posts here and this is still very unclear to me. I have been testing various things to understand the difference between alias_maps and ...
0
votes
2answers
190 views

set bash alias from bash script (not command line)

Differently from bash shell (for create new alias): alias test="echo test" if I do the same thing using a bash script, alias does not run: #!/bin/bash alias test="echo test" also export it, same ...
0
votes
2answers
596 views

Apache Alias to link to another DocumentRoot

I have a WordPress installed in /var/www/wordpress/ and my own code in /var/www/project/ Now comes the following problem: When I try to access example.com/client/ or example.com/admin/ it should link ...
0
votes
1answer
3k views

Easy way to alias the default SQL Server instance to a named instance?

I have SQL Server Express installed on my machine as the default instance. "server=.;database=...." I'm now working with a new client where their config files are all checked into the repository. They ...
1
vote
2answers
5k views

apache 2.4 + php-fpm + mod_proxy_fcgi + alias

I have the following config: Apache 2.4, php-fpm, mod_proxy_fgci. The problem is that my config is not working with the alias directive: I've installed phpredmin, but the alias directive is not ...
0
votes
1answer
239 views

Linux: Ignored entries in aliases file

I am trying to configure my RHEL6.5 server to send all emails addressed to root or apache to go to my external email address. I have found many guides on doing this and tried all of the suggestions I ...
-1
votes
1answer
235 views

Amazon Route 53 domain mapping

We have some EC2 instances running NGINX that will be accessed via a loadbalancer that can be reached via www.example.com. The loadbalancer redirects the traffic to the appropriate EC2 servers. This ...
-2
votes
2answers
245 views

Replying to an email from a domain email alias

We have a multi-store set up in nopCommerce 3.20 with SSL enabled. Our environment info as follows, Windows 2012 R2 VPS Server. .Net 4.5, SQL Server 2012 Express Multi SSL in Same IP using ...
2
votes
0answers
90 views

Apache Alias redirect error (only in Windows phone)

I have this in my apache2 config. ServerName example.com DocumentRoot /var/www/example.com/ Alias /m /var/www/example.com/ The weird thing is I can have this alias plays out nicely ...
1
vote
0answers
260 views

command line alias inside php exec

Is there any possibility to define shell alias for commands executed via php system, exec etc functions? I'm running multiple versions of PHP using fastcgi and I need to run the right version of PHP ...
-1
votes
1answer
123 views

Postfix: Two domains in mydestination - where are the mails delivered to?

I have two domains in the mydestination parameter of Postfix: mydestination = foo.com, bar.net The MX-Records for foo.com and bar.net are set to mail.foo.com. In my /etc/aliases I map admin to the ...
0
votes
1answer
169 views

Postfix Regex Alias with Text Substitution

I'm migrating from an older email structure ([first letter of first name].[last name]@company.com) to [first letter of first name][last name]@company.com. To ensure that mail sent to older addresses ...
1
vote
1answer
250 views

Postfix alias and “impersonating” issue

I recently started configuring addresses on my postfix server and stumbled into an issue with my colleagues. So assume i have an alias testing@bar.ru which forwards mail to screatch@gmail.com and ...
1
vote
2answers
411 views

permission denied using sudo

I have an alias in my .bashrc file that runs an executable python file like so: alias my-command="sudo -u apache /path/to/file.py" When I run my-command It prompts for my sudo password and then it ...