Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 2 3 [4]

Author Topic: DNS records or htaccess help please  (Read 2748 times)

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31601
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DNS records or htaccess help please
« Reply #45 on: April 29, 2018, 02:38:15 PM »

Can I take things one step at a time please to stop me getting confused  (easily done!)

atm I'm using Chrys's code   and I'll later put in R=301 when I'm ready

Code: [Select]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule (.*) https://kitz.co.uk/ [R,L]

I think this is handling all the main redirects correctly and how I want them to be
I'm aware that this has broken links (mostly images) both on here and the wiki which link to the main site & I'm currently working on fixing those one at a time.


When I've done all these, then the next important thing I need to look at is the point brought up by jelv to redirect kitz/forum & kitz/wiki to the relevant subdomains.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31601
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DNS records or htaccess help please
« Reply #46 on: April 29, 2018, 02:51:35 PM »

PS

I'm also aware that the ISP section is broken and unreachable

Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31601
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DNS records or htaccess help please
« Reply #47 on: April 29, 2018, 03:47:48 PM »

I'm still working my way through the images which are done for the forum, still working on the wiki.
But can anyone tell me why this is happening please and its not redirecting correctly please?   

http://www.kitz.co.uk/isp/isp_information.php?isp=aaisp

There's tons of stuff no longer working in the ISP section as anything with with .php? in the url redirects to the root.
eg

http://www.kitz.co.uk/isp/isp_information.php?isp=aaisp  becomes https://www.kitz.co.uk/isp_information.php?isp=aaisp


----
ETA     May have a fix for this - still testing.     ETA fix works :)

Code: [Select]
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
« Last Edit: April 29, 2018, 06:30:02 PM by kitz »
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31601
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DNS records or htaccess help please
« Reply #48 on: April 29, 2018, 03:59:15 PM »

My TODO list


  • Fix Forum images and links back to main site - Done
  • Fix Wiki images - Appears to have corrected itself after changing the re-write rule.
  • Broadband checker needs fixing - throwing errors and not displaying maps Maps fixed - gmap key swapped to https.  Phone showing as non BT error probably unrelated because actual data comes back fine.   Will need further investigation, possibly a result of change at BTw no longer indicating BT based lines.
  • Redirect folders to subdomain for forum -  Redirection in place, need to 301 it. - Done
  • Redirect folders to subdomain for wiki. Fixed and unable to replicate
  • Fix why does all ISP info goes back to the root folder - Done.  new rule applied
« Last Edit: April 29, 2018, 05:59:57 PM by kitz »
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31601
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DNS records or htaccess help please
« Reply #49 on: April 29, 2018, 04:52:29 PM »

Will at some point https://kitz.co.uk/forum stop working? If so would it be worth adding a rule to rewrite that to the correct location?

Redirect added.   Should now be working.    Will 301 it if everything continues to work ok.


----
ETA   test wiki

http://wiki.kitz.co.uk/index.php/BCM_routers
« Last Edit: April 29, 2018, 05:04:52 PM by kitz »
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

Weaver

  • Addicted Kitizen
  • *****
  • Posts: 6271
  • Retd sw dev; A&A; 4 × 7km ADSL2; IPv6; Firebrick
Re: DNS records or htaccess help please
« Reply #50 on: April 29, 2018, 06:03:45 PM »

Kitz, I noticed that non-BT line thing last week. Don't know if that was even before you started the changes.
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31601
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DNS records or htaccess help please
« Reply #51 on: April 29, 2018, 06:17:14 PM »

Kitz, I noticed that non-BT line thing last week. Don't know if that was even before you started the changes.

Thank you for the confirmation Weaver I was beginning to think it is totally unrelated to the changes, but it was the first time I'd seen it. 
I suspect BTw may have stopped the marker which indicates if the line is BT based or LLU, because they are still sending the data through.  If it was anything more serious, then it wouldn't continue to return data.  The message about non BT line will have to stay for a while until I get chance to sort it properly.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31601
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DNS records or htaccess help please
« Reply #52 on: April 29, 2018, 06:24:23 PM »

OK guys, thanks everyone for all your help so far.     

I think I've managed to sort all the most important issues.   I've added a couple of redirects to sort the subdomain -v-folder issue and I've tweaked the main rewrite rule so its now as follows

Code: [Select]
RewriteEngine on

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R,L]

RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

I will change these to R=301 when I'm certain that everything is working as it should be. 

Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

Weaver

  • Addicted Kitizen
  • *****
  • Posts: 6271
  • Retd sw dev; A&A; 4 × 7km ADSL2; IPv6; Firebrick
Re: DNS records or htaccess help please
« Reply #53 on: May 01, 2018, 02:25:47 AM »

[off topic, apol] That non-bt line thing, disregarding weirdness - is it supposed to mean ‘non BTOR’ ie a totally unrecognised phone number that BT have never heard of, or is it to do with ISP = BT Retail _ISP_ whatever they call themselves nowadays ?

I tried a couple of local phone numbers because I was trying to check up on FTTC in the area. I wonder how up-to-date their database is as I'm fairly sure there is more in the area now, based on speed test results with ISP given on maps which are definitely DSL, not 4G because of the ISP.
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 23944
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: DNS records or htaccess help please
« Reply #54 on: May 01, 2018, 02:49:22 AM »

[off topic]
[off topic, apol] That non-bt line thing, disregarding weirdness - is it supposed to mean ‘non BTOR’ ie a totally unrecognised phone number that BT have never heard of, or is it to do with ISP = BT Retail _ISP_ whatever they call themselves nowadays ?

My telephone number was originally BT and would be recognised. When I migrated to TalkTalk, taking the number with me, the BT Broadband Availability Checker does not recognise the number.

It responds --

There is no data available for this number. This could be either because it is
not a BT line or it is a new BT number that has just been provided. Most new
numbers will appear on the checker 24 hours after BT has installed the line.

[/off topic]
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31601
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DNS records or htaccess help please
« Reply #55 on: May 04, 2018, 12:00:03 PM »

They used to have a marker that identified BT based lines.   
Note this is NOT BTretail but BT Wholesale line rental (WLR) which in brief is basically any ISP not using Full Metallic Path LLU.
 
I used that marker as an aid to note which map to prepare for line length and the visual map markers..  knowing that no data would be returned for LLU lines therefore no point doing some of the steps.  There's actually 4 different map formats which depend upon data input by the user and data returned from BTw.
So the marker has gone, but BTw is still returning line data which likely means they stopped the marker for some equivalence rule or other (guessing!)

As it's not actually affecting the end results other than saying 'possible not BT line' it really is not a priority right now.   I'm up to my eyes in other admin work and keeping the site running.   It's no fun these days trying to run a site and keeping everything compliant and up to date..  because the amount of background stuff that no-one gets to see is no mean feat  :(

 
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31601
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DNS records or htaccess help please
« Reply #56 on: May 04, 2018, 12:07:58 PM »

PS...  as an example, from my mail box yesterday.  Gmaps are changing their ToS and they want my bank account details to set up a billing account for gmaps usage.  When introduced it used to be free and no details required other than set up a key to confirm you own the site.   Things are getting way too complicated to run any sort of hobby site. :(

Quote
Beginning June 11th, we are launching our new pricing plan and providing all users access to support. We’ll continue to offer a free tier — all developers will receive $200 of free monthly usage of our core products.
In addition, this change will require you to enable billing and associate it with all of your Google Maps Platform projects. Creating a billing account helps us better understand your usage so we can continue developing helpful products. It also allows you to scale easily with less downtime and fewer performance issues if your product grows beyond the $200 of free monthly usage.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5436
Re: DNS records or htaccess help please
« Reply #57 on: May 05, 2018, 01:09:02 AM »

Is the free tier good enough for what this site needs?
Logged
Sky Fiber Pro - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

Weaver

  • Addicted Kitizen
  • *****
  • Posts: 6271
  • Retd sw dev; A&A; 4 × 7km ADSL2; IPv6; Firebrick
Re: DNS records or htaccess help please
« Reply #58 on: May 05, 2018, 01:16:43 AM »

And using a different free service means a nightmare amount of work, unpaid, until that service decides to start charging.

AA uses a mapping service btw, https://find.me.uk/164978/817874/980x684 which is free, I think revk built it possibly. I have no idea if he or that service might be of any interest.
« Last Edit: May 05, 2018, 01:21:47 AM by Weaver »
Logged
Pages: 1 2 3 [4]