Kompx.com or Compmiscellanea.com

HTTP to HTTPS redirect in .htaccess

Web servers : Apache + nginx

Redirecting from all domain names of a web site to its web address with HTTPS and the domain with www. The names to be redirected from are:

  • Both with and without www - URL with HTTP
  • Without www - URL with HTTPS

Server configuration: Apache + nginx. SSL in enabled. SSL-certificate is purchased, approved and installed. That is, everything is up and running. So it is just the HTTP to HTTPS redirection that is left to get ready and start up. Directives for .htaccess file:

RewriteEngine On

RewriteCond %{HTTP:HTTPS} !on [NV]

RewriteRule ^(.*)$ https://www.domain.tld/$1 [R=301,L]

RewriteCond %{HTTP_HOST} !^www\.

RewriteRule ^(.*)$ https://www.domain.tld/$1 [R=301,L]

HTTP to HTTPS redirect in detail

-- Enable runtime rewriting engine:

RewriteEngine On

-- If HTTPS is not present:

RewriteCond %{HTTP:HTTPS} !on [NV]

-- Then replace HTTP + domain (with or without www) with HTTPS + domain with www:

RewriteRule ^(.*)$ https://www.domain.tld/$1 [R=301,L]

-- If HTTPS is present, but domain name has no www (the case when https://domain.tld is entered in address bar):

RewriteCond %{HTTP_HOST} !^www\.

-- Then replace it with HTTPS + domain with www:

RewriteRule ^(.*)$ https://www.domain.tld/$1 [R=301,L]



Aliosque subditos et thema


Text-based web browsers for Linux


Lynx : Links : ELinks : W3m : Netrik : Retawq : Line mode browser When general public Linux distributions came around, web browsing was quite young, but with some way behind it. There were several web browsers already, many of them ported gradually to Linux. Some text-based web browsers were in the first wave. After a while Linux became the main habitat of text-based browsers, where most of them are developed and used. Even if these text-based web browsers are mostly intended not just for Linux, but for various other *nix systems as well. And there are also their ports to plenty of other operating systems for most various platforms. Lynx - / home page / Text-based web browser. Versions for Linux, FreeBSD, Mac OS X, some other *nix systems, DOS, Windows, BeOS, MINIX, QNX, AmigaOS, OpenVMS and classic Mac OS. HTML ( More 1 ) ( More 2 ) Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux: lynx.isc.org Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux: w3schools.com/browsers/browsers_stats.asp Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux: en.wikipedia.org/wiki/Lynx_(web_browser) Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux: ebay.com Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux: kompx.com/en/elinks.htm Lynx 2.8.7rel.1 in GNOME Terminal 2.32.1 on Zenwalk Linux: twitter.com Links - / home page 1 : home page 2 / Text-based web browser. Versions for Linux, FreeBSD, Mac OS X, some other *nix systems, BeOS, Haiku, OS/2, DOS, Windows.

Arachne. Graphical web browser for DOS


Jump to: Arachne web browser. Installing and setting up for internet connection via Ethernet Arachne web browser. Installing and setting up for dial-up internet connection Versions : Configuration and use : Download links Arachne is a full-screen graphical web browser for DOS on PC computers. Originally developed by Michael Polák. First release - 22th December 1996. The last Arachne version by Arachne Labs was released on 22th January 2001. Arachne source code was opened in November of 2003 and the subsequent versions are released under GNU GPL license. Arachne is distributed as a software suite containing, besides web browser, built-in e-mail client, FTP, internet connection wizard, WAV files player. More add-ons are available: image viewer, PDF, file managers, mplayer, Telnet client, IRC and more. Arachne supports Windows-1251 and KOI8-R Cyrillic after additional packages are installed. Internet connection is via serial ports (COM) and Ethernet. There are also Arachne for Linux / SVGAlib. Versions GPL versions of Arachne. The main line of Arachne development. Major changes and updates take place within its framework. Maintained by a group of enthusiasts who also develop GPL version for Linux / SVGAlib. Arachne Labs versions. Arachne Labs, xChaos software initially, were the main structure engaged in development of Arachne until 2003, when Arachne source code was opened and the GPL versions of the browser became the main line. The last Arachne Labs version was released on 22th January 2001: Arachne 1.70 Release 3. Ray Andrews version. A GPL Arachne variation. PTS-DOS version. Similar to the corresponding versions of Arachne, but to some extent integrated with the PTS-DOS distribution. DR-WebSpyder. Based on Arachne. Basically - different web browser, for which Arachne is just an ancestor. Later the browser was renamed as Lineo EmBrowser. Configuration and use Arachne web browser was created in DOS and for DOS (the Linux version stands somewhat apart). Therefore, even though Arachne will run under many versions of Windows, Windows XP for instance, it is working under DOS when Arachne qualities are revealed best. Arachne web browser works in all major DOS variants, for example MS-DOS, FreeDOS or PTS-DOS. System requirements are low. The minimum: 80x86 CPU, 500 KB DOS base memory, 1 MB XMS/EMS memory, 512 KB SVGA video, 5 MB HDD space. Although requirements for using maximum screen resolution, maximum color depth are higher. But in this case too they are extremely small by today's standards - 486, better Pentium I computer, 640 KB base memory, 8+ MB XMS/EMS memory, 2+ MB SVGA video. Yet it depends - using 640x480 screen resolution, installing Arachne on RAM disk let to have Arachne running quite well on 386 CPU computer; if only there are enough of RAM and video adapter capabilities. Besides traditional hard disk installation, DOS LIVE CD by Roman Karpach may be used ( www.fdd5-25.net/doslivecd ), where Arachne web browser is among the software present. The characteristics of Arachne web browser installation process make the main settings be set right from the beginning. These settings for the most part are the responsibility of operating system on computers running Windows, Mac OS X or Linux, but in DOS Arachne browser takes care of everything itself.