Drupal 7 Custom Page shown only for logged-in users My problem is that, I need to create a new Page (path f.e. //panel), but I want there only logged-in users. If user is not logged in, he should be redirected to login form. I was trying to do it with Custom Pages, but I dont know how to do it, I can create variant only with HTTP response code, and its working good, but I dont know how to show content of this page, it's simply redirected me if I'm not logged in or displaying, that page is not found if I'm logged in.
Do you know a solution for my problem?
You are creating a custom page, so you should use user_is_anonymous() in the calback of the page.

For example: 

$form['custom_path'] = array(
  'page callback' => 'some_random_function',
);
function some_random_function() {
 if(user_is_anonymous()) { 
  //call the login block
 }
 else {
  // What ever u want.
 }
}