Apache :: Password Htdigest In Batch

May 22, 2013

I would to use: htdigest -c filename.htpasswd Group usernamein file batch to insert a set of users with password.I can use it without having to enter the password from the keyboard?I tried echo pass| htdigest -c filename.htpasswd Group username but it does not work.

View 1 Replies


ADVERTISEMENT

Windows Batch / Regex

May 20, 2009

how to convert this line of text

"Your server is now available at [url]

to

"67.202.30.141"

In other words, extract the IP address from that URL (replace dashes with dots etc)?

This needs to be inside a windows batch file.

View 2 Replies View Related

Batch Name Server Check

Dec 31, 2007

i want to check in a batch if my client's domain changed name server or not. Are there are tools / script available for that?

View 5 Replies View Related

Batch Remove Files And Copy

Jul 30, 2009

to move the httpdocs folders of multiple sites on my plesk server to another server (share on other serv is already mounted so thats not an issue) but their is 31 different domains i need to copy. wondering if anyone knows any way to batch automate a cp process to copy each domains files to a new folder on remote server (this is for backup purposes not live sites so i cant use plesk migration etc

View 3 Replies View Related

Batch Edit Of Name Servers In DNS Zone

Oct 17, 2007

batch edit of the name servers in every DNS Zone for every domain on one of my cPanel/WHM boxes. Rather than using WHM to manually modify the NS entries, I would like to find a way to do a batch or mass edit.

I simply need to change all instances of NS1 to NS3 and NS2 to NS4.

I was told a simple one line sed script should do the trick on /var/named but alas, I am woefully incapable of writing such a script.

Does anyone have any ideas? With over 200 domains on this box I'd hate to think this will have to be done manually.

View 2 Replies View Related

Apache :: Login And Password For Tomcat 7

Dec 5, 2010

I am unable to get A username and password requested by http://127.0.0.1:8080. "Tomcat Manager Application"..I created userid and password in tomcat-users.x.

View 4 Replies View Related

Apache :: Possible To Log Username And Password Passed By GET

Jan 22, 2015

Is this possible to log username and password passed by GET request for basic authentication?I generate link to some part of my website by [URL] ....

It works without any problems for 90% users but some of them got information that there is password mismatch.So I would like to log all request with information about passed login and password in text plain.

View 1 Replies View Related

Apache :: Password Protect Directory

Mar 10, 2014

What is the proper way. to password protect a directory for apache 2.4.7. Information i gather seems to not work.

View 4 Replies View Related

Setup Login ID And Password In Apache

Jan 25, 2014

Where can I get examples to create login ID and password with changing of password function for valid user to access apache web server? 

View 3 Replies View Related

Apache :: Require Password For All But One File

Jan 16, 2015

I would like my entire website to be password protected except for one file called allowThisFileWithoutPassword.php.

How could this be accomplished. Below is my attempt :

Code:

<VirtualHost *:80>
ServerName example.com
ServerAlias *.example.com
# ServerSignature Off

ErrorDocument 404 /error-404.html
DocumentRoot /var/www/html
<Directory "/var/www/html">

[Code] .....

View 2 Replies View Related

Plesk 12.x / Windows :: Change Customer Name CNAME Through Batch

Nov 2, 2014

I am trying to change the cname through a batch.. It is successfully done for English language but I want to use Arabic language. When I am using Arabic it appear like this "????".

View 1 Replies View Related

Plesk 12.x / Linux :: Batch MySql Script Stopped

Oct 2, 2014

I've this terrible problem: on my site I start a script that executes a batch process that imports into the Mysql database a lot of products (texts and images). I'm monitoring the query process from Phpmyadmin>Status and I notice that after some minutes the number of queries decreases from ~900 to ~30, that means that the script is stopped! Then I check the error_log and infact there's this error:

[Thu Oct 02 17:09:34 2014] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Thu Oct 02 17:09:34 2014] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: insert_products.php

Some informations:
VPS server: 1 CPU; 40gb; RAM 1GB
OS: CentOS 6.5 (Final)
Plesk version: 12.0.18

What I tried via SSH console:

# /usr/local/psa/admin/bin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:

module 5.3.3 5.3.3 module /usr/bin/php-cgi /etc/php.ini
fastcgi 5.3.3 5.3.3 fastcgi /usr/bin/php-cgi /etc/php.ini
cgi 5.3.3 5.3.3 cgi /usr/bin/php-cgi /etc/php.ini
# /usr/bin/php-cgi -v

[code]....

View 2 Replies View Related

Apache :: Configuration To Setup Password For Website

Jul 8, 2013

I want to setup a password for a website running on Ubuntu server, and find Apache can be used. It is implemented by config httpd.conf file and .htaccess file.

So I want to ask:

1. In this case, the password is setup for a path on the server configured in httpd.conf file. Like in the following example:

Code: <Directory "/var/www/html/MySite">

The password is setup for the path to Mysite,right?

2. If my content of website is not stored under /var/www folder, I cannot use this way to setup a password for website, right? May use PHP instead?

View 1 Replies View Related

Apache :: 2 Username / Password Protected Directories

Aug 7, 2014

I have been trying to get password protected directories working on my Linode server. It works / behaves in a desktop browser somewhat but not like I am used to with hostmonster. Also for some reason my phone (windows phone just loads the page in the protected directory without prompting for a password. So I imagine there is some security thing I am missing that none of the info I have found searching talks about. Here is what I have done. I have created a password file and set the permissions correctly on that and it works on the desktop. However when I close the browser or open a private browsing session I am never prompted for a password again. It just feels insecure. Plus my windows phone just loads the page with no prompt. With hostmonster if I closed the browser window it would ask me for the username and password again. I also tested hostmonster directory passwords on my phone and it prompts for a username/password.

Here is what I have added to the apache2.conf file. The rest is pretty much default. There is no .htaccess file for that directory.

<Directory "/var/www/protected">
AllowOverride All
AuthType basic
AuthName "Enter Login"
AuthUserFile /etc/htpasswd/.htpasswd
Require valid-user
Order deny,allow
Allow from user1
</Directory>

It may be worth noting that I have two virtual sites / domain names running on this server at the moment however the one that is being used for this is the primary domain name.

OS: Debian 7.3
Apache 2.2.22

View 6 Replies View Related

Apache :: Unable To Set Up Password Protection On HTTP Server

Apr 24, 2014

I'm trying to set up password protection on an Apache HTTP server, and it's not working.

First, the environment: Apache 2.4.4 installed with XAMPP Control Panel 3.2.1 under Windows 7 Professional.

http.config says "AllowOverride All."

The .htaccess file in the protected directory says:

Code:
htpasswd -c .htpasswd samples

htpasswd prompted me for the password twice, and I entered it twice. When it quit I had a file named .htpasswd in the subsidy directory. I typed it and its contents looked correct according to the examples I've seen.

Then I restarted Apache and tried to load a page from the directory. The browser simply prompted me for the username and password over and over.

The Apache error log says, "AH01617: user samples: authentication failure for "/subsidy/filename.html": Password Mismatch."

I deleted the .htpasswd file and ran htpasswd again, specifying a different (very simple) password. I also confirmed that caps lock was not on both before and after. I restarted the server, tried to load a page, and got the same problem.

Apache seems to think I'm entering the wrong password, but that seems impossible when I've just defined it myself -- and I've tried twice, intentionally choosing a very simple password the second time. If the message means what it says, the cause must be something very different from the obvious one.

View 1 Replies View Related

Apache :: Page Loads Doesn't Ask For Password Until Refresh

Oct 9, 2012

Im using apache2.2 on Ubuntu 12.04. Im trying to password protect a page using htacces and/or the directory command.

Basically no matter what method I use to try and password the index page it doesnt work. I can protect pages and dir's below, but not in the root www of a vhost.

basically:

/home/cackles/mysite with index.html and .htaccess will allow index.html to load and wont prompt for a pass until the page is refreshed.

/home/cackles/mysite/subdir will prompt for a pass before it goes any further.

I purged and started from scratch again last night and for nothing, it would seem, well I learned/refreshed a few things so it wasnt a complete bust ... just 7hrs

View 2 Replies View Related

How To Do Batch Convertion Of Note Local Archive To Exchnage PST For Thousand Users

Jun 12, 2008

How to go about that.

Anyone have done that before care to share information?

View 0 Replies View Related

DirectAdmin - Access Denied For User 'apache'@'localhost' (using Password: NO)

Jun 20, 2009

I get the following error when let my site connect to my database: Access denied for user 'apache'@'localhost' (using password: NO)

But when im running lil test script which connect to my localhost with the same passwords and it gives the status 'Connection OK' (im running on admin account, made a MySQL account with DA)


Code:

<?php $link = mysql_connect('localhost','admin_removed','removed'); if (!$link) { die('Could not connect to MySQL: ' . mysql_error()); } echo 'Connection OK'; mysql_close($link); ?>

View 2 Replies View Related

Apache :: Authenticate Username / Password Using Oracle Stored Procedure?

Apr 8, 2014

I have an app that opens a new browser window to a URL that opens a PDF file at a named destination. For example: URL.....I need to authenticate each user that enters this link, but preferably only once per browser session (valid until user closes browser). This authentication process needs to be performed by an oracle-database stored procedure (via a Java servlet, or other technology). Any outline steps or reference link?

The idea would be when the user enters this link, that a popup window appears asking for a username and password, which then get verified by the stored procedure, and then, and only then, the URL address is allowed to proceed.I know I can implement password protection in `.htaccess` as follows.

AuthType Basic
AuthName "Secured Area"
AuthUserFile /path/to/.htpasswd
<Files "myFile.pdf">
Require valid-user
</Files>

But, I need this process to connect to the stored procedure to validate the user, because this stored procedure has to apply business logic to determine the users' subscription status, etc., which can change at any time.

View 1 Replies View Related

Plesk 11.x / Windows :: Could Not Find Password For Account ID / Return Empty Password

Nov 19, 2013

Everyday after Backup Panel (Tasks from Backup Manager), I receive next error:

<?xml version="1.0" encoding="utf-8"?>
<execution-result status="error">
<object name="domain.ru" type="domain">
<message severity="error" id="416a91ad-e5e7-480b-b6b4-a60157b8eaae" code="InformationalException">
<description>Could not find password for account id '2648'. Return empty password</description>
</message>
</object>
</execution-result>

Resolve -> only reconfigure domain. How can I automatic fix this problem?

View 5 Replies View Related

Plesk 11.x / Linux :: Changing Email Password Changes Admin Panel Password Too?

Jun 17, 2014

today i changed the password for the admin panel for a customer (username eg. mylogin). 10 minutes later he called me and said that he cannot get into his emailaccount anymore. Checked the password and saw that the emailpassword for his emailaddress (eg. mylogin@mydomain.com) is now the same from the admin panel login. So i changed the emailpassword and checked the admin panel login - it now has the emailpassword. What a mess.. I'm running Plesk Panel 11.5.30 MU47.

View 1 Replies View Related

How To Change Cpanel Password With FTP Password

Nov 22, 2007

How to change the Password of my FTP?

I know how to change the pwd. of cPanel, but I don't know how to change the pwd. of FTP?

View 10 Replies View Related

Password

Oct 2, 2007

there is anyway to know the password of 1 user on cPanel knowing the root password?

View 5 Replies View Related

My SQL Password

Jan 19, 2007

about MY-SQL Password Security!

my Server is : CentOS and my control panel is : Cpanel

my Freand have a mySQL password, but he donot know ROOT Password ( i change root password )
my Freand is a bad Boy )
can he attack Mysql or Mysql user by mysql password?

if he can attack server by Mysql password please help me about change Mysql password by CPANEL

View 3 Replies View Related

Password

Feb 16, 2007

I have debian 3.1 sarge and 2.6.19-grsec kernel.

I have successfully changed a shell user password but I cannot login with it via ssh cos its says wrong pass (with previous password can login) as well as any other users pass says wrong pass after a change.

View 1 Replies View Related

Password Managemant

May 16, 2009

i want to build my 2nd server later,

i get a problem,

i wonder how can not manage my password,

i can set them all the same? or differnet?

the same: will it too dangerous?
different: it may hard to save the password.

View 13 Replies View Related

MySQL Password

Apr 3, 2009

I am transfering my database to a new host and well I need to create the same database (same name and username) along with the same password I used before (because a script im using is connected to it) then import the old .SQL files.

However I dont know how I can find out the current password linked to that database (When you create one it asks you for a password remember?) Anyclue how to find it out? I cant change it I need to know what it is still.

I am using cPANEL

View 5 Replies View Related

Grub Password

Aug 17, 2008

do you set grub passwords?

what problems could i be facing if i skip that, i'd guess one cannot access file system via some grub parameters,

it can only be used to lower performance?

View 2 Replies View Related

Sudo With No Password

Nov 27, 2008

I have the user "tech" added to my system. I want that user (tech) to be able to use sudo, but for only *one* command. ssh. I also want this to utilize the "NOPASSWD" feature.

What's the line I need to add to /etc/sudoers to allow only SSH (and sudo with the no password).

View 4 Replies View Related

Lost WHM Password

Jun 1, 2008

is there any chance to reset WHM password?

i have 2 root user account

1. root (this password same as the WHM password)

2. admin (i know this password)

isthere any chance to change root password with my admin password

View 3 Replies View Related

Root Password

Mar 13, 2008

My computer's HDD crashed last night and I only have an old backup.

The problem is my new server's root password was stored there and it's 20 digits totally random password.

Is there any way to reset the server password by the dedicated server provider?

I haven't asked my provider yet.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved