Error #102 URL not valid

pdxbassoon

New Member
I've seen a couple threads on this already that appear to be unresolved (e.g. it's a problem with your webhost). My webhost couldn't resolve it for me. The URL is correct, and works for everything else except "Remote Lists" in the MaxBulk client. Has anyone resolved it?

When I use the http version of the URL, my access.log logs the following GET command:
[myIPaddress] - - [27/Apr/2016:12:33:13 -0700] "GET /lm/lm.php?cmd=lists&pwd=[myPassword]&lang=us HTTP/1.0" 301 575 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"

However the Error message above appears. If I run the GET command in my browser, it returns the list names.

If I run another command from the MaxBulk preferences, say Diagnose, it works beautifully, access.log says:[myIP] - - [27/Apr/2016:12:39:09 -0700] "GET /lm/lm.php?cmd=diagnose&pwd=[myPwd] HTTP/1.1" 301 558 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 (KHTML, like Gecko) Version/6.2.8 Safari/537.85.17

Has anyone resolved this?
 

stanbusk

Administrator
Staff member
Do you mean you get a 301 error? 301 is explained here. I guess the solution is to use the right URL without forward?
 

pdxbassoon

New Member
If it is a 301 error, why does the diagnose command work (which has the same 301) work? Since I also managed the website for many years and set up the directory structure, I can say with certainty that there is no redirection going on. The URL is as I entered it in the MaxBulk preferences. The IP address for the website has changed, but very little else has. I don't see where to enter a new IP address for the website.
 

stanbusk

Administrator
Staff member
If your server returns a 301 code it is because there is a forward, a permanent forward. Such forward can be set by a .htaccess file on the target or root folder. Maxprog sites for example have dozens of forwards of that kind.

MaxBulk Mailer supports all 3xx codes, it extracts the 'LOCATION' header, maybe there is a problem with that. Can you tell me the full URL? The URL that give the problem? I wrote a tool that displays HTTP headers.
 

pdxbassoon

New Member
That was it! The .htacaccess file contained the following:


RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Another site that runs the Mailing List Manager didn't have those three lines in the .htaccess file, and Mailing List Manager worked just fine. I'll have to ask the web host why that was needed.

Thanks!

Edited to add that to my inexpert eyes, it looks like the three lines above want to force http GET requests to redirect as https. Unfortunately, when I use the URL https://barnesconti.com/lm/lm.php in the MaxBulk preferences for Remote lists, attempting to access the lists results in the same error. But without the three lines above, I can access the remote lists via http. I know this is not a good idea since the GET request appears to have my password in it. I don't know how to work around it. It could possibly be a problem with the security certificate.
 

stanbusk

Administrator
Staff member
Interesting, it is a 3xx forward from http to https, not supported by MaxBulk Mailer right now. The code to do that is missing. I believe it is easy to add that. I will have a look.
 
Top