在Linux Plesk服务器上,我想要以下内容:
来源:sub.domain.com
别名:
alias1.domain.com ->来源:sub.domain.com
alias2.domain.com ->来源:sub.domain.com
alias3.domain.com ->来源:sub.domain.com
所以我想要几个子域指向源子域。我该怎么做?我能做一个符号链接吗?
在Linux Plesk服务器上,我想要以下内容:
来源:sub.domain.com
别名:
alias1.domain.com ->来源:sub.domain.com
alias2.domain.com ->来源:sub.domain.com
alias3.domain.com ->来源:sub.domain.com
所以我想要几个子域指向源子域。我该怎么做?我能做一个符号链接吗?
我自己刚刚碰到这个。
在子域conf文件夹中创建一个文件vhost.conf:
/var/www/vhosts/domain.com/subdomains/source-sub/conf/vhost.conf
# add aliases to that file
ServerAlias alias1.domain.com
ServerAlias alias2.domain.com
ServerAlias alias3.domain.com
# reconfigure PSA s httpdmng
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain example.com
In our team we are using a development, staging and a master branch plus branches for issues. With this workflow I find myself doing a lot of the following: For example in the development branch: ...
I want to make an alias which would work like this: vf hello.c would execute a find command to search for hello.c and open it in the vim editor. What is the best way to do it? I ve tried the ...
Trying to create: alias mcd="mkdir $1; cd $1" Getting: $ mcd foo usage: mkdir [-pv] [-m mode] directory ... -bash: foo: command not found What am I doing wrong?
I noticed that hibernate generates different aliases for the same columns each time i try to access the same table: Hibernate: select person0_.id as id0_0_, person0_.nam as nam0_0_, person0_.fam as ...
I m having a problem with conflicting namespaces and code that gets autogenerated by the forms designer in Visual Studio 2008. I have search many forums and different documentation, but have not been ...
I have an httpd.conf file that looks like this: Alias /media/ /var/projects/potato_gun/media/ WSGIScriptAlias / /var/projects/potato_gun/django.wsgi The problem is, I broke all my URLs that start ...
Folks, Is it mandatory to use an ALIAS when we are doing some operation on the column? Ex: select upper(col1) from table1 when i am trying to retrieve the resultset by rs.getString("col1"), it was ...
Premise I recently ran into a bug in a select statement in my code. It was fairly trivial to fix after I realized what was going on, but I m interested in finding a way to make sure a similar bug ...