S
S
skvot2011-03-29 21:57:51
linux
skvot, 2011-03-29 21:57:51

Apache2: moving /server-status to a subdomain

Hello, habralyudi! There is an apache2 server under ubuntu server 10.10. There is a domain and a subdomain. The task is to transfer domain/server-status to status.domain. I've been trying to organize this for an hour now and it doesn't work out, I will be glad for advice. Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Z
zibada, 2011-03-29
@skvot

<VirtualHost *:80>
ServerName status.domain
DocumentRoot /var/www # что угодно
<Location />
SetHandler server-status
# allow, deny, ...
</Location>
</VirtualHost>

S
Sergey, 2011-03-29
@bondbig

Ordinary virtual host, what is the problem?

S
Sergey, 2011-03-29
@bondbig

Something like that:
<VirtualHost *:80>
ServerAlias status.aegosempai.info
DocumentRoot /server-status

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question