LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 08-24-2020, 12:57 PM   #46
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964

Quote:
Originally Posted by Fred27377 View Post
ODOHO it seems to me that Covid can be tested by Saliva and a computerized record kept. We must be very close to putting this nightmare behind us. I called AWS to ask if they could setup something like this. They sent me an email. I don’t want to wait two years or more to begin to live again. 320 M is the approx people in US. Doing something for me is better than doing nothing at all!
Asking a moderator to close this thread, as it seems pointless. You do not have ANY idea what you want to do, and at this point are again ranting about 'begin to live again', etc.

You still have not asked a clear question, demonstrated any effort on your part, or even know what it is you want to do. Amazingly enough, the CDC already HAS at least one computer, if not more...not sure if you're aware of this. They even probably have some sort of tracking system built.
 
1 members found this post helpful.
Old 08-24-2020, 01:59 PM   #47
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Testing surely is an important part of dealing with the pandemic, but it won't make it go away.
There's no reason to, no point in testing 100% of the population. None.
 
2 members found this post helpful.
Old 08-24-2020, 02:53 PM   #48
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Wait, you want personal custody over the medical information of every person in the United States?

And anyway... no, AWS does not set that up for you. You set that up yourself and you deploy it to AWS. They're just a hosting platform.

Last edited by dugan; 08-24-2020 at 02:56 PM.
 
2 members found this post helpful.
Old 08-24-2020, 07:38 PM   #49
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,726

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by dugan View Post
Wait, you want personal custody over the medical information of every person in the United States?.
And even if one could collect that, why have a page for each person? Sounds more like a database problem to me.
 
1 members found this post helpful.
Old 08-25-2020, 08:32 AM   #50
Fred27377
Member
 
Registered: Jun 2020
Posts: 68

Original Poster
Rep: Reputation: Disabled
These are different times than I grew up in! The response in the 60s would be different than now. It could be state by state. But they would have literally tested every one. And every one would comply not like now!
 
Old 08-25-2020, 08:36 AM   #51
Fred27377
Member
 
Registered: Jun 2020
Posts: 68

Original Poster
Rep: Reputation: Disabled
Dugan Thanks again for the great tip!
 
Old 08-25-2020, 09:09 AM   #52
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by Fred27377 View Post
Dugan Thanks again for the great tip!
If you seriously don't know what services AWS provides, the basics of website design, how to write even a SIMPLE SCRIPT, etc., how exactly do you think your '320 million' website is going to get built??? There isn't a magic "click this button to do exactly what you want" feature anywhere.

Again: asking moderators to close this thread.
 
1 members found this post helpful.
Old 08-25-2020, 09:19 AM   #53
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by Fred27377 View Post
These are different times than I grew up in! The response in the 60s would be different than now. It could be state by state. But they would have literally tested every one. And every one would comply not like now!
Oh yes...the 60's were indeed a time of TOTAL CONFORMITY. Right.....

And again, you appear to be misinformed about a great deal. Do you know what's involved in READING a test?? The resources/time/effort it takes?? One person can test hundreds a day...and those tests take TEAMS to process over a much longer time. And then you are actually expecting a perl or bash script to automatically build 320 million web pages (seemingly unsecured) for these results?? So you can continue to whine about 'being able to live again', and (from another of your threads) having your 'way of life destroyed'??

Grow up; it's temporary inconvenience.
 
1 members found this post helpful.
Old 08-25-2020, 09:27 AM   #54
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
You should also know what a CMS does. Here’s the shortest video I could find in Drupal, which is the kind of thing you would write in Django, PHP (what it’s actually written in) or Rails, and then use to create a site WITH LOTS OF PAGES.

How to Build a Directory site using Drupal 8
 
1 members found this post helpful.
Old 08-25-2020, 05:53 PM   #55
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Mods have seen this thread a few times.

I suggest that anyone who doesn't agree with the flow of a thread then they ought to refrain from posting. Further move on to a different thread where they may be able to fully assist a member.
 
1 members found this post helpful.
Old 08-25-2020, 06:28 PM   #56
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by jefro View Post
Mods have seen this thread a few times.

I suggest that anyone who doesn't agree with the flow of a thread then they ought to refrain from posting. Further move on to a different thread where they may be able to fully assist a member.
The OP has not (and apparently WILL NOT) define a clear goal. They admittedly don't even know what they want to do, and won't show any efforts towards solving their own issue, whatever it may be.

Clear questions have been answered; the OP has been given code and scripts to do what the subject line reads..that is, perform a redirect, as was answered in:
  • Post #4 (the OP says they know how to do it with Apache)
  • Post #8
  • Post #13
  • Post #16 (OP 'solves' it there)
  • Post #17
  • Post #19
  • Post #29 (again, OP answers own question)
  • Post #42 & 43
Post #20 sums up the reason to close the whole thread. Not sure what else can be added to this thread from a technical standpoint, and the OP persists in their behavior. If the mods see this and don't close it, I'm stumped as to WHY it wouldn't be closed at this point.

55 posts in, no clear question or effort? What's to be gained?
 
1 members found this post helpful.
Old 08-26-2020, 01:19 AM   #57
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by dugan View Post
Wait, you want personal custody over the medical information of every person in the United States?
Oh, my brain went into lockdown (is ther a pun here?) before it even got to that point.

In any case, it is very, very clear that OP should NOT be building any sort of website any time soon.
And since they appear unwilling to accept advice and read up on things, probably never.

Quote:
Originally Posted by Fred27377 View Post
These are different times than I grew up in! The response in the 60s would be different than now. It could be state by state. But they would have literally tested every one. And every one would comply not like now!
This is once again complete nonsense, please see my previous reply.
(And I'm sure actual 1960s examples could be found to disprove your statement.)
Anyhow, don't blame the times. They have nothing to do with it. Blame yourself.
 
2 members found this post helpful.
Old 08-26-2020, 08:19 AM   #58
Fred27377
Member
 
Registered: Jun 2020
Posts: 68

Original Poster
Rep: Reputation: Disabled
I will define a clear goal! To create 1000 subdomains in Perl. Starting with this snippet of code.:

<VirtualHost 111.22.33.55>
DocumentRoot /www/subdomain
ServerName www.domain.tld
ServerAlias *.domain.tld
</VirtualHost>

This is actually Apache.

I think there are many ways to create 1000 subdomains but this for me is the easiest!
 
Old 08-26-2020, 08:34 AM   #59
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,726

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by Fred27377 View Post
I will define a clear goal! To create 1000 subdomains in Perl. Starting with this snippet of code.:

<VirtualHost 111.22.33.55>
DocumentRoot /www/subdomain
ServerName www.domain.tld
ServerAlias *.domain.tld
</VirtualHost>

This is actually Apache.

I think there are many ways to create 1000 subdomains but this for me is the easiest!
Um. A sub domain’s FQDN would be sub.domain.tld
ServerName would need to be sub.domain.tld
A wildcard in the alias won’t do what you want. Every sub domain will need its own VirtualHost.

Also, every sub domain will need a DNS A record to resolve

The TimDotson memorial question:
What are you trying to accomplish??

As others have stated, your goals at not clear. We can’t help you do what you want if you don’t clearly state what you want...
 
1 members found this post helpful.
Old 08-26-2020, 08:46 AM   #60
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by Fred27377 View Post
I will define a clear goal! To create 1000 subdomains in Perl. Starting with this snippet of code.:
Code:
<VirtualHost 111.22.33.55>
    DocumentRoot /www/subdomain
    ServerName www.domain.tld
    ServerAlias *.domain.tld
</VirtualHost>
This is actually Apache. I think there are many ways to create 1000 subdomains but this for me is the easiest!
Great; so you opened this thread to ask a question for something that you ALREADY KNOW THE ANSWER.

You claim to want to do this in Perl...you posted several perl snippets, and a simple counter-loop has examples in ABUNDANCE, any of which you can find with a very small amount of effort (see the "Question Guidelines", as you've been directed to before). Go to the Internet search tool of your choice, and put in:
  • How to loop in Perl
  • How to count in Perl
  • How to open a file in Perl
  • How to print a line to a file in Perl
...and look at those results. You will find examples on how to do ALL of that. Here's examples:
https://perlmaven.com/writing-to-files-with-perl
https://perlmaven.com/for-loop-in-perl

Those show you how to count, loop, open a file, and write into it. You (again) now have everything you need to actually go do something for yourself. As others have said, you have no idea what you're actually doing with your 'websites', or how to build them. You can write a simple script in bash or python too...not sure why you're fixated on Perl.

And again, building 1,000 subdomains isn't the issue; what do you actually plan on DOING with them? Having a blank domain that is only visible to yourself is pointless. Paying for 1,000 domains on a web host is equally pointless, unless you have ACTUAL CONTENT to put on those web pages.

Last edited by TB0ne; 08-26-2020 at 08:56 AM.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redirect non www site to www site with 301 status mitter1989 Linux - Server 1 08-02-2014 07:53 AM
How to capture web site incoming traffic and redirect to different IP/server superkikim Linux - Server 5 11-08-2012 11:04 AM
call perl script through another perl script with arguments nanda22 Linux - Newbie 21 07-21-2009 12:18 AM
[HELP] redirect traffic to spesific port based on Traffic Content using iptables summersgone Linux - Server 2 06-22-2009 11:26 AM
Including methods from a perl script into another perl script gene_gEnie Programming 3 01-31-2002 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration