Jump to content
[MUST READ] Forum Rules ×

wget a file in free host folder


isaaclw

Recommended Posts

I'm trying to do the authentication process for letsencrypt.

It told me to put a file in my folder:

https://renewrocktown.com/.well-known/acme-challenge/

with a value.

When the file is downloaded via my browser, it shows up correctly. When it's downloaded with the certbot script, or with wget, it shows a 403.

 

Apparently the host is restricting crawling. This makes sense.

Is there any way around that?

I realize if I purchase premium, I can get 'letsencrypt' in a much easier way... but I'm not sure I'm ready for that yet...

 

Thanks!

Link to comment
Share on other sites

5 hours ago, isaaclw said:

I'm trying to do the authentication process for letsencrypt.

It told me to put a file in my folder:

https://renewrocktown.com/.well-known/acme-challenge/

with a value.

When the file is downloaded via my browser, it shows up correctly. When it's downloaded with the certbot script, or with wget, it shows a 403.

 

Apparently the host is restricting crawling. This makes sense.

Is there any way around that?

I realize if I purchase premium, I can get 'letsencrypt' in a much easier way... but I'm not sure I'm ready for that yet...

 

Thanks!

Upload the file to the requested directory, and that should be everything.

Link to comment
Share on other sites

1 hour ago, isaaclw said:

I tried that. I get a 403.

Check your .htaccess, and see if there's a rule that denies you the access to the files. Anyways, if you put the directory, and then the filename no problems should  happen.

Link to comment
Share on other sites

What I hear you saying is that you don't know of any restriction on web crawlers.

Why do I get a 403 when I run:

`wget https://renewrocktown.com`

Yet it works fine when I view it in the browser?

 

Here's my .htaccess file:

# 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

 

Link to comment
Share on other sites

4 hours ago, isaaclw said:

What I hear you saying is that you don't know of any restriction on web crawlers.

Why do I get a 403 when I run:

`wget https://renewrocktown.com`

Yet it works fine when I view it in the browser?

 

Here's my .htaccess file:


# 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

 

I have gone through the process of installing SSL certificates several times, but never had this error.

So from my analysis, the error should be on your WordPress installation blocking something. And the only thing that comes to mind when referring to restrictions is .htaccess. Try removing it temporarily.

To be honest I'm not sure what causes this, so I'm just guessing.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...