Apache :: 2.2.22 - Unable To Send HTTP PUT Command In Windows

Apr 19, 2013

I have installed Apache 2.2.22 in Windows Server 2008 R2 Operating System. I want to upload a file using HTTP put command to "uploadtest" folder of the server

1. I have configured "uploattest" folder to accept file without any authentication (Anonymous_NoUserID On)

<IfModule alias_module>
Alias uploadtest G:DataImportSvcUploadTest
</IfModule>
<Directory "G:DataImportSvcUploadTest">
<FilesMatch ".(enc|xml|zip)$">

[Code] ....

We are using .enc files so I allowed that file type

2. "uploadtest" folder has right permission to everybody.

3. We are using WindowsCE client to send file using HTTP put command . Use HttpOpenRequest to send files with lpszVerb = PUT

HINTERNET WINAPI HttpOpenRequest(
HINTERNET hConnect,
LPCTSTR lpszVerb,
LPCTSTR lpszObjectName,
LPCTSTR lpszVersion,
LPCTSTR lpszReferrer,
LPCTSTR* lplpszAcceptTypes,
DWORD dwFlags,
DWORD dwContext
);

4. We are getting error as "Method Not Allowed"

TTP/1.1 405 Method Not Allowed
Date: Thu, 18 Apr 2013 07:26:25 GMT
Server: Apache/2.2.22 (Win32) DAV/2
Allow: GET,HEAD,POST,OPTIONS,TRACE
Content-Length: 241
Content-Type: text/html; charset=iso-8859-1

5. I tried enable WebDav in Apache and tried with BitKinex WebDav client and still gives the same error

I just wondering PUT may be barred by any other allowed module. Please find the modules allowed.

LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so

[Code] .....

View 1 Replies


ADVERTISEMENT

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 :: Unable To Start As Service - Windows 8

Jan 6, 2013

Installed Apache Server 2.4.3 (no PHP, etc.) and it was working beautifully for a week or so. Yesterday, I restarted my laptop (nothing changed... no updates that install automatically, etc.) and now Apache won't start. Here are some things I've found out on my quest on figuring out what's wrong:

1. Apache Error Log:
[Sat Jan 05 14:18:36.745977 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00455: Apache/2.4.3 (Win64) configured -- resuming normal operations
[Sat Jan 05 14:18:36.745977 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00456: Server built: Aug 18 2012 14:13:48
[Sat Jan 05 14:18:36.745977 2013] [core:notice] [pid 4116:tid 372] AH00094: Command line: 'C:Apache24inhttpd.exe -d C:/Apache24'
[Sat Jan 05 14:18:36.747979 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00418: Parent: Created child process 3436
[Sat Jan 05 14:18:37.335418 2013] [mpm_winnt:crit] [pid 4116:tid 372] AH00419: master_main: create child process failed. Exiting.

2. Nothing else is using port 80 (or 443, for that matter).

3. Apache will start and stay running if I run httpd.exe from the DOS prompt or double-click it from within Windows just fine.

4. Will not run when launched from within the Services or Apache Service Monitor app.

5. Windows Event Error displays the following error:
Faulting application name: httpd.exe, version: 2.4.3.0, time stamp: 0x502f863e
Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2bcac
Exception code: 0xc0000417
Fault offset: 0x0000000000070468
Faulting process id: 0x13d8
Faulting application start time: 0x01cdeb8eefaec475
Faulting application path: C:Apache24inhttpd.exe
Faulting module path: C:WindowsSYSTEM32MSVCR100.dll
Report Id: 2deab70b-5782-11e2-be94-00247e17b5d9
Faulting package full name:
Faulting package-relative application ID:

6. I've tried fixing/reinstalling the C+ redistribution files about 3 times now, to no avail (thinking the error in the event file was caused by a bad/corrupt MSVCR100.DLL).

7. The exception code in the event error is:
0xc0000417 = STATUS_INVALID_CRUNTIME_PARAMETER =
An invalid parameter was passed to a C runtime function. (But again, reloading the files didn't solve anything).

8. I have tried removing Apache completely, reloading with default settings, etc. and still having the same issue.

9. Out of desperation, I even tried a registry cleaner (CCClean) and CHKDSK on the drive. Both of those didn't fix anything.

This is it... not sure what else to do/try. Again, everything was fine one moment, and it all stopped working after rebooting my system. I've wasted hours into this issue, and have come up empty handed. I'm beyond frustrated at the moment.

EDIT: The download I used for the server is located here: [URL]...

View 1 Replies View Related

Unable To Send Mail

Aug 21, 2007

I'm using a basic PHP script on my website, but it will not send mail out. I know the script works, I use it on my other websites (which I do not host).

Now I have setup a Windows 2000 Server running IIS 5. What do I need installed (if anything) to be able to send mail from the sever?

View 2 Replies View Related

CPanel Webmail Unable To Send

Dec 11, 2008

All my cPanel webmail programs (roundcube, squirrel mail and horde) are not able to send e-mails. I can send through POP3 fine, but these programs just can't send mail. I've done some googling and found that if I edit the squirrelmail config to use sendmail it should work - which it does. So really, I've got squirrel mail to work, but the problem still exists for the other two webmail programs.

I think it's some sort of a problem with SMTP, but I'm not too sure.

If you've experienced this before or know how to fix it,

View 2 Replies View Related

Unable To Send Or Receive Email

Sep 8, 2007

I am unable to send or receive email from the server in Mail Queue Manager it shows this when clicking deliver now

Code:
Delivery attempt for Message ID 1ITmWS-0001u4-QJ
Message 1ITmWS-0001u4-QJ is no longer frozen
delivering 1ITmWS-0001u4-QJ
LOG: MAIN
lowest numbered MX record points to local host: domain.com
LOG: MAIN
== myemail@domain.com R=lookuphost defer (-1): lowest numbered MX record points to local host
LOG: MAIN
Frozen

Return to Mail Queue

View 7 Replies View Related

Unable To Send And Receive Emails In Lxadmin

May 3, 2009

we are not able to send or resive emails from other servers

we just can see mails from ower server not other servers

what can we do? to corect this

View 4 Replies View Related

Exim: Unable To Send Mail W/ New Users

Mar 11, 2008

I installed exim and have been able to successfully use it as an smtp server. My test setup was as follows:

email client uses smtp.MYSERVER.com, my login, and password

The email is successfully forwarded to the appropriate recipient. However, when I create a new user, and test it's email capabilities, it does not work. I get a 535 error:

535 Incorrect authentication data

I have double checked the login and password, and I've tried this on multiple accounts. Is there an issue with how I'm creating the users? (useradd)

View 3 Replies View Related

Google Email :: Unable To Send And Receive

May 5, 2008

The following setup has been working fine for several months, I came to check the site today and I'm unable to connect. Email and site are split (email is with googlemail).

@NS ns1.domainregistrar.com
@NS ns2.domainregistrar.com
@MX10 ASPMX.L.GOOGLE.COM 604800
@MX20 ALT1.ASPMX.L.GOOGLE.COM604800
@MX20 ALT2.ASPMX.L.GOOGLE.COM604800
@MX30 ASPMX2.GOOGLEMAIL.COM604800
@MX30 ASPMX3.GOOGLEMAIL.COM604800
@MX40 ASPMX4.GOOGLEMAIL.COM604800
@MX40 ASPMX5.GOOGLEMAIL.COM604800
webmailCNAME ghs.google.com3600
@A **serverip**3600
ftpA **serverip**3600
wwwA **serverip**3600
*A **serverip**3600

I can send and receive, but no emails arrive, probably because the registrar has a resolve issue?

Site is also down.

View 2 Replies View Related

Plesk 12.x / Linux :: Unable To Send Mail - Android And IOS

Mar 29, 2015

I'm running Plesk 12.0.18 update 39 on Centos 6.6 with postfix and courier-IMAP

However I can't send emails from mobile devices or outlook - the security settings are invalid, I've tried all 4, SSL, SSL/TLS Accept all certs, Start TLS etc.

View 1 Replies View Related

Plesk 11.x / Linux :: Unable To Send Email Notifications

Feb 4, 2015

My Plesk Panel stopped to send notifications a while ago, I don't receive mails when the backup are done, the clients can't receive their passwords if they need to reset...

The mails are not being forwarded when they configure it in the panel (I receive a mail in mail1@mydomain.com and I want it forwarded automatically to mail2@gmail.com or wherever).

I don't see nothing about the plesk panel mail in the postfix log and I don't know what else to check.

View 9 Replies View Related

Plesk 12.x / Linux :: Unable To Send Notifications Via External SMTP

Dec 8, 2014

Plesk 12.0.18 #27
CentOS 7.0.1406

I have followed the instructions here to send Plesk notifications through External SMTP (overuse, new domain creation, etc): URL....Here is the error I see in the panel.log: ERR [panel] Unable to send mail.

Is there another log that I'm missing with a more detailed error? Sending through an external SMTP works fine on sites hosted on the same server (Wordpress, Joomla).

View 5 Replies View Related

Plesk 12.x / Linux :: Roundcube Unable To Send Email After Upgrade

Jun 5, 2014

Whenever trying to send an email using roundcube it just seems to fail... No error code is given - see attached image:

I've tried following the article here: [URL] ....

But it didn't seem to work and incidentally the main.inc.php file didn't even exist only a main.inc.php.rpmnew was there. I tried copying it to main.inc.php but it made no difference. Normal SMTP usage via thunderbird works, and everything works when trying to use horde.... it's just a problem with roundcube after the upgrade from 11.5 to 12.

Running on CentOS 64

View 4 Replies View Related

Plesk 12.x / Linux :: Can't Send Email - Unable To Read Control Files

May 22, 2015

Every out bound email message fails and stays in the queue. The mail log shows this error.

qmail: 1432283802.380653 delivery 27: deferral: Unable_to_read_control_files._(#4.3.0)/

A second problem, also qmail is that I can't send to the server using TLS on the submission port, only if I do plain text. But the first problem is bigger because we can't send at all.

This is a new plesk installation and it has never worked.

View 7 Replies View Related

Apache :: Capturing Internal Apache Errors Return Custom HTTP Status

Nov 15, 2013

Server Version: Apache/2.2.22 (Unix)

On our production service, we've been getting numerous malformed POST requests to some of our CGI scripts that are showing up as 500 errors in our logs. They are malformed in the sense that the actual content length doesn't match the Content-Length specified in the request.

Here's the most trivial example I can come up with that reproduces the problem for us:

POST /some_valid_alias HTTP/1.1
Host: example.org
User-Agent: Arbitrary/1.0
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 769
-----------------------------41184676334

In addition to the 500 error in the access log, we see the corresponding error in the error log:

(70014)End of file found: Error reading request entity data

Based on the nature of the POST request and the error response, it does appear that Apache is doing the right thing here.

The POST never actually makes it as far as the script being targeted (/some_valid_alias in the above example); in other words, Apache returns 500 to the client, writes the error to the error log and never executes the script.

Is there a way to capture/avoid internal Apache errors like 70014, and return some other HTTP status besides 500 (like 403)? It's particularly annoying in our case, because our server sends us an email for all 500 errors.

So far, our best "defense" against these 500 errors is to disallow POST for these aliases, which normally just ignore the POST data anyway (when the request is not malformed):

RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ^/(some_valid_alias)(.*)$ $1$2 [R]

But this won't work for all our scripts, because in some cases we do want to permit POST.

View 2 Replies View Related

Connect To Windows VPS With Http

Jun 11, 2007

How can i connect to my windows VPS if my office PC connect to internet by http proxy (user name and password) and all ports are closed unless:

22
23
80
8080

So Remot desktop not working, I tryed some remote softwar like pcAnywhere but did'nt work.

View 6 Replies View Related

Apache HTTP Flooding

Aug 15, 2007

Someone seems to be flooding our HTTP server somehow. We use the latest version of Apache on Windows.

Is there any Windows modules that can filter the total amount of IP connections, or something built into Windows that could filter this?

View 2 Replies View Related

Apache :: Hostname Via SNI And HTTP Are Different

Jan 6, 2015

I'm in the process of trying to pin down a couple errors I've been running into, and after installing and configuring SSL I have occasionally been receiving the following error:

View 2 Replies View Related

Apache :: 503 On HTTP And Folder Only

Oct 9, 2012

Suddenly on a particular website (possibly following an easyapache php minor version update) if I specify a folder rather than a specific file I get a 503 response.

If I do the same on https it's ok. But http always gets a 503.

If I specify a file it's fine, but the folder always hits a 503.

I have removed the htaccess file and php.ini to rule that out and indeed they weren't factors - it seems like it goes wrong before reading the htaccess file.

View 3 Replies View Related

Apache Http.conf Or DNS Misconfig

Aug 7, 2008

I have two domains that are sharing one IP address. One site is meissenation.com and the other is mifbody.com.

My httpd.conf file looks like this: ...

View 2 Replies View Related

Apache Calls On HTTP GETS And PUTS

Mar 3, 2007

Does anyone know if there is an Apache directive where you can have Apache call a script on HTTP PUTs to a specific location and also for HTTP GETs?

View 0 Replies View Related

Apache :: Redirecting From HTTP To HTTPS

May 4, 2015

I keep hearing that redirecting from http to https is not very secure [non-SSL to SSL]. Among other reasons, one reason is that the browser may continue to think it is communicating with non secure server and may not encrypt the data. Is it true? I hope not, I am using the following -

<VirtualHost 12.34.567.89:80>
ServerName www.mysite1234.com:80
Redirect / https://www.mysite1234.com/
</VirtualHost>

View 1 Replies View Related

Apache :: Possible To Do P2V Migration Of HTTP Server 2.2

Jun 27, 2013

its possible to do a P2V migration of a Apache http server 2.2

Present environment:

Windows 2003
Apache http server 2.0.63

There are 2 webservers (running Apache) for load balancing. The backend server runs an application which uses an oracle database. Is a P2V migration of the web servers possible?

View 2 Replies View Related

Apache :: Can't Access Http Anymore (2.2)

Sep 30, 2014

I made the idiotic move of not making a backup of the default configs and now I can't access my http website externally. ssl works fine, but I need http to work too.

View 3 Replies View Related

Apache HTTP Started But Not Accessible

Aug 30, 2013

I was trying to set up a JBoss cluster with apache httpd mod cluster in windows.I was able to start the apache using the command 'httpd. exe'. But when I tried to access it using localhost:6666/mod_cluster_manager , the page was not accessible.I have the entry 127.0.0.1 localhost in my hosts file.

The http.conf contains lines as given below:

# MOD_CLUSTER_ADDS
# Adjust to you hostname and subnet.
<IfModule manager_module>
Listen 127.0.0.1:6666
ManagerBalancerName mycluster
<VirtualHost 127.0.0.1:6666>

[code]....

View 2 Replies View Related







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