skvot2011-03-29 21:57:51
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)
zibada, 2011-03-29

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

Sergey, 2011-03-29

Ordinary virtual host, what is the problem?

Sergey, 2011-03-29

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