R
R
Ruslan Galiev2015-10-23 23:14:37
Apache HTTP Server
Ruslan Galiev, 2015-10-23 23:14:37

Apache how to deny requests by IP?

Hello
There is an application on Ruby on Rails on the server. I use Rollbar for bug tracking. And on it I began to periodically see left requests by IP, and not by a domain name.
How to process such requests using Apache and give not a virtual host, but a stub thread.
What are the correct practices in such cases?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ShamblerR, 2015-10-26
@ShamblerR

you actually have an idiotic problem, your site is in default, so you can contact it with any "garbage" mirror.
In fact, you need to specify the correct domain in VIRTUALHOST and everything after that the site can only be reached through it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question