Wget trigger the Sync To WordPress
-
Hi,
I’m trying to trigger the Sync To WordPress with :
curl –data “next_ad_int-task=sync-to-wordpress&auth-code=mycode” https://mywebsite.com/wp-admin/admin.php
but i get :
<!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
<html><head>
<title>401 Unauthorized</title>
</head><body>
<h1>Unauthorized</h1>
<p>This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn’t understand how to supply
the credentials required.</p>
</body></html>I have in my apache server this configuration for the VirtualHost:
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
NTLMAuth on
NTLMBasicAuth on
NTLMBasicRealm MYWEBSITE.COM
AuthType NTLM
AuthName “MYWEBSITE”
NTLMBasicAuthoritative off
NTLMAuthHelper “/usr/bin/ntlm_auth –helper-protocol=squid-2.5-ntlmssp”
Require valid-userWhat should i change to make it work ?
- The topic ‘Wget trigger the Sync To WordPress’ is closed to new replies.