# Error with basic auth on windows

**URL:** <https://www.ruby-forum.com/t/error-with-basic-auth-on-windows/222339>\
**Category:** NGINX\
**Created:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/error-with-basic-auth-on-windows/222339 "2012-08-27T14:00:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/error-with-basic-auth-on-windows/222339/1 "2012-08-27T14:00:05Z")

</div>

Hello,

I’m trying to setup basic auth on windows and i’m getting an error:

CreateFile() “C:\Jira\nginx-1.2.3/conf/htpasswd” failed (2: The system  
cannot find the file specified),

I’ve searched all over but I’ve not been able to find an answer to why  
this  
would be happening.

has anyone else seen this issue?

Thanks  
Kevin.
