Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
0 answers
59 views

I wrote a CGI script in Perl that handles a specific application completely and triggers a redirect to an error page for some errors. The error page when being sent also sets the HTTP status code as ...
U. Windl's user avatar
  • 4,738
0 votes
1 answer
98 views

I am working on OpenWrt 23.05, to run a CGI script from the browser URL e.g. http://192.168.1.1/cgi-bin/myapp.cgi The server is uHTTPd. My CGI file is written in C++ that needs no interpreter. The CGI ...
InfiniteStorm's user avatar
1 vote
1 answer
35 views

I have a simple python cgi script: (my python is Python 3.9.21) #!venv/bin/python # " xxx " def main(): html = """ <!DOCTYPE html> <html> </html> &...
Gord's user avatar
  • 31
0 votes
1 answer
151 views

This is a really simple thing I'm trying to do but I can't seem to figure it out. I have the following HTML page that should allow me to upload a spreadsheet. However it would appear that the file I ...
Doug Poulin's user avatar
0 votes
0 answers
33 views

I have a cgi script that will output a "generating your output..." message followed a few seconds later with "done...". However, no matter what I do, no output reaches the browser ...
Edward Falk's user avatar
  • 10.2k
0 votes
0 answers
37 views

I've been tasked with creating a website using both HTML and Python CGI. I've ran into many issues however managed to solve them all and got the HTML and CGI to work on the inbuilt python webserver ...
abxty's user avatar
  • 15
-1 votes
1 answer
79 views

In a program I'm using a rather sophisticated parameter for CGI's start_html, but that results in a duplicate rel attribute for the CSS passed via -style. Example code: #!/usr/bin/perl use strict; use ...
U. Windl's user avatar
  • 4,738
-1 votes
1 answer
151 views

I am trying to run an Apache web server, which would take my HTML form, process it, and would give some kind of answer. I had problems installing CGI, configuring it, but I managed to do it. Now I am ...
mmartiss's user avatar
0 votes
1 answer
161 views

I'm not a windows server pro but searching the net did not give recent answers. Here is the setup: I have a Windows server 2022 machine. I'd like to trigger a program there by a web post request. The ...
Fred's user avatar
  • 603
0 votes
0 answers
39 views

I created a main.cpp which is converted to song_stack.cgi and is stored in /opt/homebrew/var/www/cgi-bin the httpd.conf file is stored in /opt/homebrew/etc/httpd/httpd.conf I created an index.html and ...
DEADPØØL GAMING's user avatar
0 votes
2 answers
68 views

While writing html textarea content in a file, python flask is adding additional new lines in the file. There is no issue while reading the content on textarea. Initial file content: line1 Line2 Line ...
Amit Kumar Bhakat's user avatar
0 votes
0 answers
56 views

I have a Win32 exe program installed on hundreds of clients. This application makes an HTTP API call to retrieve information about an address based on the provided ZIP code. The exe calls an address ...
alijunior's user avatar
  • 327
0 votes
1 answer
192 views

I am working on my pet-project which is supposed to take user's data from web page and show the result (calculated on python). I just do not know how to connect my python code with html+css+js page. I ...
ALcodimcodimLA's user avatar
0 votes
1 answer
86 views

Running batch files powered CGI web site with SQLite database, storing text with newlines requirement newly arise. I am able to store text with newlines into a database by: sqlite3.exe "\work\...
user2956477's user avatar
  • 1,358
0 votes
2 answers
726 views

I'm new to python backend development, I was trying to set up an apache to use cgi-bin and a simple python file. This is my apache2.conf (I"ve added the following): <Directory "/var/www/...
Saul Solis's user avatar
1 vote
0 answers
294 views

Since the python cgi module will soon be removed, I need a way to capture file contents uploaded through an HTML form that looks like this: <form id="uploadfile" method="post" ...
sjizma's user avatar
  • 11
0 votes
1 answer
48 views

I have an HTML form that has a file input element. When submitting the form, a JS function is executed which checks if the uploaded file is a PDF file and is less than 10MB. All of this works ...
Mr_BananaPants's user avatar
2 votes
2 answers
580 views

I am trying to dockerize a web application which is in perl and at the end it connects with MariaDB via Apache. I already have a database setup. My containers are running but the problem is with perl ...
Ahmed Dildar's user avatar
0 votes
1 answer
238 views

Perl script use CGI to generate html with echarts.js. Error information like below: [Fri Aug 25 10:07:17.488252 2023] [cgi:error] [pid xx] [client xxxx] AH01215: (8)Exec format error: exec of '/cgi-...
Rey Lee's user avatar
1 vote
2 answers
488 views

I have a CGI::Session script that writes the session id to the /tmp file. The script doesn't error out, but when I check the /tmp directory, I don't find the cgisess* file. This is the permission of /...
Marcos Camargo's user avatar
-3 votes
1 answer
85 views

I have installed php and python in my mac and made the changes required in httpd.conf file as well. I have restarted the apache web server as well. Here is my php webpage Here is my python webpage ...
Amogam's user avatar
  • 437
0 votes
1 answer
135 views

Good night! I'm using a chpasswd.cgi to change password via web, the problem is that when I change the password to 123456789 it won't work. I'm migrating a proxy server to a new one, and I have more ...
Renobr's user avatar
  • 3
1 vote
1 answer
191 views

So I have a Perl script that I want to run within an Apache web server and everything seems to be working correctly except for the formatting. The server displays the Perl script as plain text rather ...
Henry 's user avatar
  • 11
3 votes
0 answers
3k views

I tried to use multipart, email.message, html.parse and requests but none seem to be doing what I need, which is getting the fields of an HTML form. Any suggestions?
Kal's user avatar
  • 61
1 vote
0 answers
47 views

I have a small application that displays a form with four fields. I'm trying to build in some validation so that a warning message is displayed if one or all of the fields are blank when a user clicks ...
Fearsome Cloud's user avatar

1
2 3 4 5
104