No matter what the visitor types www.example.net or http://www.example.net or http://example.net i want all of the requests to be redirected to https://example.net currently i have managed to redirected requests that are coming from www.example.net and https://www.example.net to https://example.net but i can't find a solution for http://example.net to https://example.net Current config of nginx default is this: server { server_name www.example.net; return 301 example.net$request_uri; } server { listen 80; listen [::]:80; server_name example.net; location / { proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $http_host; proxy_pass localhost:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } Application is in NodeJs, server is from AWS …

Member Avatar
+0 forum 0

HI everyone, I recently inherited a project that has been in production for a number of years. They want a new field added. Easy peasy - or so you would think..... The solution is checked into Team Foundation (back in 2012), so I was able to get the code there (and did). Another programmer here had to add a report to the program back in 2015, she did. HOWEVER she didn't check the code into Team Foundation (still showing as checked out). We got the code she had off the network location she had it out to. Here is where …

Member Avatar
Member Avatar
+0 forum 2

In general it's great to get some web 2.0 backlinks, High DA backlinks such as PR9 (DA 70+) backlinks & senuke campaigns Those are the best for websites

Member Avatar
Member Avatar
-2 forum 7

Hi guys! I have a problem with login into the system. Everything seem to be fine but it passes an error when i click the login button. Pls help Thank you in advance ////////login.php////// <? /* *********************************************************** **********# Name : Shambhu Prasad Patnaik #***** **********# Company : Aynsoft #********** **********# Copyright (c) www.aynsoft.com 2004 #********** *********************************************************** */ include_once("include_files.php"); include_once("general_functions/password_funcs.php"); include_once(PATH_TO_MAIN_PHYSICAL_LANGUAGE.$language.'/'.FILENAME_JOBSEEKER_LOGIN); include_once(FILENAME_BODY); $jscript_file=PATH_TO_LANGUAGE.$language."/jscript/".'jobseeker_login.js'; $template->set_filenames(array('jobseeker_login' => 'jobseeker_login.htm')); //// Jobseeker auto login starts //////[[Click Here](http://talentwiz.net/jobseeker_login.php)](null) $checked1=false; $encoded_login1=$_COOKIE["autologin1"]; //echo $encoded_login1; if(tep_not_null($encoded_login1)) { $checked1=true; $explode_array=explode("|",decode_string($encoded_login1)); $TREF_email_address1=$explode_array[0]; $TR_password1=$explode_array[1]; } else { $TREF_email_address1=""; $TR_password1=''; } //// Jobseeker auto login ends ////// $action = (isset($_POST['action']) ? $_POST['action'] : …

Member Avatar
+1 forum 0

Hi folks, i am making a simple program using vb.net 2017 i want to make a hot key like pressing keys.decimal + keys.enter at the same time to shutdown my pc. i am using a bluetooth usb numpad so crtl key is not an option. thanks for your help. Cheers!

Member Avatar
Member Avatar
+0 forum 2

I want to ask that " In some sites we see that when some peoples comments or share or click they got coins or points" so how to make this type of scirpts ?

Member Avatar
Member Avatar
-1 forum 1

Hello, I would like to introduce myself and share a bit of information about the new API we are developing. The product was just launched in February and is in the beginning phase. I would highly appreciate any kind of comment or advice when it comes to improving the development or advertising of this product. My name is Milica and product is called Publitio. Publitio attempts to take the pain out of the Media Asset Management (MAM) process by easing common tasks used by the majority of web & mobile apps, such as media files uploading, storage, processing, and delivery, …

Member Avatar
Member Avatar
+0 forum 1

Hello, I Am Building a web application.How can i implement sms service in my website?? Please show me some references..and guidence please..

Member Avatar
Member Avatar
+0 forum 2

Dear Experts, I want to develop a application that send sms on any mobile. if any one done this project then kindly give some important consideration for developing this application. Best Regards, Pardeep

Member Avatar
Member Avatar
+0 forum 5

Hello, Daniweb -- I have a C++ library, for which I am trying to make a Python interface. I have come across a linking issue which I haven't been able to solve. The library has a series of header and source files, and I am looking for a way to add the Python interface without modifying any of the source files, by separately compiling linking in the new Boost Python sources, rather than adding the additional Boost code directly in the .cpp files. I have worked out a simple test case for what I am trying to do. There is …

Member Avatar
Member Avatar
+0 forum 3

This is my code, which changes by frame, I need to do a scoring system, but when I used the following code to add a score it works fine for the first 2 frames then doubles and by the end it's like 229. Thank you for any help. Score; var score = 0; function scoreIt(); { score += 1; } Frame by frame; this.stop(); this.ans1.addEventListener("click", fl_MouseClickHandler.bind(this)); function fl_MouseClickHandler() { this.rocket2.play(); this.rocket1.stop(); this.rocket3.stop(); this.next.mouseEnabled = true; this.ans2.mouseEnabled = false; this.ans3.mouseEnabled = false; this.ans2.answer2.color = ("#00ff00"); this.ans1.answer1.color = ("#cd0000"); this.ans3.answer3.color = ("#cd0000"); } this.ans2.addEventListener("click", f2_MouseClickHandler.bind(this)); function f2_MouseClickHandler() { this.rocket1.play(); this.rocket2.stop(); this.rocket3.stop(); this.next.mouseEnabled …

Member Avatar
+0 forum 0

I want to fetch invoice data from two tables table a is in single row and table b data should be multiple rows single data is fetching correctly but facing problem with table 2 multiple data fetch. php file <?php $connection= mysqli_connect("localhost","root","","invoice"); $invID = $_POST['ID']; $Invo = "SELECT a.in_no, a.client, a.add, a.Date, a.subTotal a.gTotal, b.id, b.item, b.quantity, b.price from invoice a, invoiceItems b where a.in_no = b.in_id AND in_no = '$invID' "; $runQuery = $connection->query( $Invo); if($runQuery->num_rows > 0) { $result = $runQuery->fetch_array(); } // if num_rows $connection->close(); echo json_encode($result); ?> js file function Invoice (ID = null) { if(ID) …

Member Avatar
Member Avatar
+0 forum 1

Hello fellow programmers; So i am currently working with machine language using CPUSim Wombat 1 machine. Just wondering if its possible to create a storage and store negative numbers (say -1 ) in it. If so, how do you do it?

Member Avatar
Member Avatar
+0 forum 1

I am creating an animated sprite that collides w/ itself and destroys itself? How did they do this in 1992? I just want to hit an enemy and have the enemy disappear. Any help appreciated. Using Unity 5.6 for game. public class Hadouken : MonoBehaviour { public Rigidbody2D bulletPrefab; public Transform spawnpoint; public AudioClip shootSound; private AudioSource source; private float volLowRange = .5f; private float volHighRange = 1.0f; private object coll; void Awake() { source = GetComponent<AudioSource>(); } void Update() { if (Input.GetKeyDown("f")) { float vol = Random.Range(volLowRange, volHighRange); source.PlayOneShot(shootSound, vol); Rigidbody2D bulletInstance; bulletInstance = Instantiate(bulletPrefab, spawnpoint.position, spawnpoint.rotation) as Rigidbody2D; …

Member Avatar
+0 forum 0

i dont want to know the result, i want to know the (outputs) and any other example similer to the quation to understand. A milk carton can hold 3.78 liters of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one liter of milk is $0.38, and the profit of each carton of milk is $0.27. Write a program that does the following: Prompts the user to enter the total amount of milk produced in the morning Outputs the number of milk cartons needed to hold milk (Round your answer …

Member Avatar
Member Avatar
+0 forum 3

word="have a good day" if i want to print only this word (good) i will run this cod print(word[6:11]) why i should write 6 ? and 11?

Member Avatar
Member Avatar
+0 forum 2

Hello friends i want to create a database for Login system. Means i just need to create and connect the database to my python file and taking some data in that database from user. For example like signup login form but in system application.

Member Avatar
Member Avatar
-1 forum 1

Hello, I am running a social app called Fakenamez. You can download in App Store or check www.fakenamez.com. I am currently looking for a business partner who is good at coding. Your share will be 50/100. Please contact me if you are interested.

Member Avatar
Member Avatar
+0 forum 4

Hello every one, Please i want to write an app the will help me manage how users access my internet through the wifi. I want to build a system where any time a user connects to my wifi and launches their browser my app is the first they see and login with account details i provide them from my database. Am cool with c# a bit and PHP Laravel. Don't know where to start from. Any help pls. Thanks

Member Avatar
Member Avatar
+0 forum 1

I am trying to create an HTML form which displays text from a text file, using a Java Servlet. I keep getting the following error: Error instantiating servlet class servlets.ReportServlet. Here is the HTML page: <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <form name = "managementReports" method = "get" action = "ReportServlet"> <input type="submit"> </form> </body> </html> And here is my servlet: package servlets; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import javax.servlet.annotation.WebServlet; @WebServlet(urlPatterns = { "/ReportServlet" }) public class ReportServlet extends HttpServlet { public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { …

Member Avatar
Member Avatar
+0 forum 4

This is the error Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

Member Avatar
Member Avatar
+0 forum 2

How to Send Email automatically without opening gmail compose box using Javascript

Member Avatar
Member Avatar
+0 forum 3

I already found 2 entities which are administrator and staff. but i'm lack of idea. would you guys help me out?

Member Avatar
Member Avatar
-1 forum 1

am Really new in vb and this has been giving heck of worries i have a combo box with about 13 collections. i want when a user selects an option, it should open in a new form. the problem now is when a user clicks on an option, all the 13 forms will open. please help here is my code Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ComboBox1.SelectedValue = "1" Form2.Show() Me.Hide() ComboBox1.SelectedItem = "2" Form3.Show() Me.Hide() ComboBox1.SelectedItem = "3" Form4.Show() ComboBox1.SelectedValue = "4" Form3.Show() Me.Hide() ComboBox1.SelectedItem = "5" Form5.Show() Me.Hide() ComboBox1.SelectedItem = "6" Form6.Show() ComboBox1.SelectedValue = …

Member Avatar
Member Avatar
+0 forum 2

howdy folks please am working on an Annual Crop Cashflow Calculator like an Excel i have 3 text boxes. textbox22 textbox31 and textbox71 if i multiply textbox22 by textbox31 it shows in textbox71 but the problem is i need an event jus like excel after calculating and user goes back to empty either textbox31 or textbox22 the answer in texbox71 should be empty... but with what i have here d previous answer will still be there until user inputs another entry solution please below is my code Private Sub TextBox71_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox22.TextChanged, TextBox31.TextChanged …

Member Avatar
Member Avatar
+0 forum 5

Hi. After i'd tried this code to convert GSM to MP3, It was converted successfully but when i tried to play, there's no content. sox -t gsm -r 8000 -c 1 -e signed-integer 003533-dialer-Feb-01-2017-16-00-17-PM.WAV -t wav -e signed-integer 0017.wav file 0017.wav 0017.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz sample output. sox 0017.wav -n stat Samples read: 0 Length (seconds): 0.000000 Scaled by: 2147483647.0 Maximum amplitude: 0.000000 Minimum amplitude: 0.000000 Midline amplitude: 0.000000 Mean norm: -nan Mean amplitude: -nan RMS amplitude: -nan Maximum delta: 0.000000 Minimum delta: 0.000000 Mean delta: -0.000000 RMS delta: -0.000000 Rough …

Member Avatar
Member Avatar
+0 forum 1

**Hi I would be thankful for your help.** I am dealing with the topic of factors that **motivate developers** and make them feel good at their job, **and frustrations** that make them work less efficient. I would like to get overview of conditions that unlock and block the potential of employees. My aim is **to distribute the knowledge among managers of various companies for better practices**. I hope you will help me, we can both contribute to changes:) I promise it is 5 minute questionnaire. Click here: https://www.surveymonkey.com/r/itmotivations´╗┐ Thank you very much for you time and support.

Member Avatar
Member Avatar
+0 forum 2

The recent flood of "technical problems" with computers at Delta Airlines, the New York Stock Exchange, the Wall Street Journal etc. make me wonder if we have become too dependent on these machines? Are they maintained by less and less competent people? Has the complexity exceeded human comprehension?

Member Avatar
Member Avatar
+1 forum 4

I make windows form application c# vs 2015 to generate 2d matrix barcodes for pharmaceutical company manufacture medicine . my problem when i make order to generate 2d matrix barcode for 200000 barcode and save barcodes in hard disk take 20 minutes How to minimize 20 minutes to 8 minutes when generate and saving 200000 barcode ? my code under button as following I attached serial and libarary for datamatrix encoding with message Class1 CLS = new Class1(); DataTable dt = CLS.ShowalldataSerial(textBox4.Text); string baseText = "UserID" + dt.Rows[0][0] + "FirmName" + dt.Rows[0][1] + "OrderNo" + dt.Rows[0][2] + "BtachNo" + dt.Rows[0][3] …

Member Avatar
Member Avatar
+0 forum 3

I work in windows form in visual studio 2015 using c# Language And I need to generate data matrix to name and phone and address So that how to do that please using data matrix barcode 2d without using Commercial library Are there are any open source or free library can I use it to generate data matrix 2d Barcode for name and phone and address? I can do it by qr message toolkit library But data matrix what I can use which library or c# code I use for generating?

Member Avatar
Member Avatar
+0 forum 1

The End.