<p>I'm using the <a href="http://msdn.microsoft.com/en-us/library/ms178329.aspx" rel="nofollow noreferrer">ASP.NET Login Controls</a> and <a href="http://msdn.microsoft.com/en-us/library/aa480476.aspx" rel="nofollow noreferrer">Forms Authentication</a> for membership/credentials for an ASP.NET web application.  It keeps redirecting to a Login.aspx page at the root of my application that does not exist.  My login page is within a folder.</p>

[{'answer_id': 33092, 'author': 'Zack Peterson', 'author_id': 83, 'author_profile': 'https://Stackoverflow.com/users/83', 'pm_score': 1, 'selected': False, 'text': '<p>I found the answer at <a href="http://www.codersource.net/asp_net_forms_authentication.aspx" rel="nofollow noreferrer">CoderSource.net</a>.  I had to put the correct path into my web.config file.</p>\n\n<pre><code>&lt;?xml version="1.0"?&gt;\n&lt;configuration&gt;\n    &lt;system.web&gt;\n        ...\n        &lt;!--\n            The &lt;authentication&gt; section enables configuration \n            of the security authentication mode used by \n            ASP.NET to identify an incoming user. \n        --&gt;\n        &lt;authentication mode="Forms"&gt;\n            &lt;forms loginUrl="~/FolderName/Login.aspx" /&gt;\n        &lt;/authentication&gt;\n        ...\n    &lt;/system.web&gt;\n    ...\n&lt;/configuration&gt;\n</code></pre>\n'}, {'answer_id': 33106, 'author': 'Ryan Sampson', 'author_id': 1375, 'author_profile': 'https://Stackoverflow.com/users/1375', 'pm_score': 4, 'selected': True, 'text': '<p>Use the LoginUrl property for the forms item?</p>\n\n<pre><code>&lt;authentication mode="Forms"&gt;\n  &lt;forms defaultUrl="~/Default.aspx" loginUrl="~/login.aspx" timeout="1440" &gt;&lt;/forms&gt;\n&lt;/authentication&gt;\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/33089', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/83/']