Report this

What is the reason for this report?

Connecting via ip X.XXX.XXX.XXX/. Is asking login and password is OK?

Posted on August 16, 2014

Connecting via ip X.XXX.XXX.XXX/

Is asking login and password is OK? (hostname will be later, It’s updating It’s nameservers)

It looks like .htaccess file in folder doing It. But in the main folder .htaccess look like

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Thank you!

UPDATE: But site loads in the background and If I press Cancel everything works properly. But It hasn’t ask for login and password. (.htaccess login/password window)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

To ask for a username and password, you need to add something like this to your .htaccess file:

AuthUserFile /etc/apache2/.htpasswd
AuthGroupFile /dev/null
AuthName "Please Enter Password"
AuthType Basic
Require valid-user

Then to set the password, run:

htpasswd -c /etc/apache2/.htpasswd username

For all the details, check out: How To Use the .htaccess File

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.