title: Can't login to Magento admin
body: <p>I have magento installed in a subdirectory.  www.domain.com/subdir/magento</p>
  
  <p>This site worked perfectly at one point.  I changed nothing, until my client said he couldn't login to magento admin.</p>
  
  <p>I logged in just fine from my computer, but on his computer it just redirected back to the magento admin login without an error message and a url that looked goofy like this: </p>
  
  <pre><code>http://domain.com/subdir/magento/index.php/admin/index/index/key/3097210b826ac4a86d7531cb4089c9d0/
  </code></pre>
  
  <p>I thought that his cookies were being blocked, but that was not the case.  </p>
  
  <p>My magento settings were secure/unsecure baseurl:  <code>http://domain.com/subdir/magento/</code></p>
  
  <pre><code>web cookie path: (blank)
  web cookie domain: (blank)
  </code></pre>
  
  <p>After clearing out var/cache, I found that I myself could not login to the admin either, with the same exact issue.</p>
  
  <p>I tried the following settings without luck:</p>
  
  <pre><code>path: /
  domain: domain.com
  
  path: /subdir/magento
  domain: vigrond.com
  </code></pre>
  
  <p>I also tried commenting out those lines in <code>Varien.php</code>, but that had no effect either.</p>
  
  <p>My server account is a VPS and it has plenty of free space.</p>
  
  <p>So I'm pretty much lost, wondering why this happened in the first place when it worked before (didn't change anything), and why it's so complicated?</p>
  
  <p>Any help appreciated</p>