256 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
144
views
PHP - Get response URL from external cgi-bin [duplicate]
I am trying to get to a jpg from a cgi-bin script from an API call.
When I call the API I get this URL: https://www.example.com/cgi-bin/public/search.cgi/photo_url?id=29846404&clan_id=1
When I ...
0
votes
1
answer
56
views
Redirect Default Domain Access and Non-Existent Links to 404 Page with Specific Conditions
I have a website, and by default, it runs in the cgi-bin directory. However, there seems to be an issue in my configuration. When I enter a directory or file that doesn't exist on the system, it ...
0
votes
1
answer
243
views
Apache 2.4.56 MOD_REWRITE is not working for /cgi-bin/
1.) I have a question related to MOD_REWRITE in file C:\xampp\htdocs\.htaccess.
It seems to work well in any directory except /cgi-bin/.
For example, when I try to switch from http:// to https:// by ...
0
votes
1
answer
53
views
Perl files seem to combine namespaces without requiring
I have a perl file that uses a sub routine (a function) defined in a different module inside the same directory. However, that module is never required in the original file, nor is the subroutine ...
1
vote
1
answer
280
views
cgi-bin is duplicated when form action is called
I have a website on ipage and works fine. I am trying to migrate it to Google Cloud and the cgi-bin is duplicated when called by a form action as shown below:
http://34.28.183.10/cgi-bin/cgi-bin/...
0
votes
1
answer
1k
views
how to get a GET/POST variable with a c++ CGI program?
my google-fu has failed me, I'm looking for a basic way to get GET/POST data from an html forum page on my server to use in a c++ CGI program using only basic libraries.
(using an apache server, on ...
0
votes
1
answer
406
views
Apache2 Ubuntu getting a cgi program to run 403 error from /usr/lib/cgi-bin
Well its 2022 and httpf.conf no longer exists. its seems to be split up into site-available, and conf-available, I can't figure it out and I can't find any instructions on how to get a simple ...
1
vote
2
answers
884
views
Send Angular Form via email
I have a simple static Angular website and I have a contact form in one of the pages.
I know that Angular has no way of submitting a form via email like the olden days. I am also aware of third party ...
0
votes
1
answer
647
views
"You don't have permission to access this resource." for perl scripts in CGI-Executables/ on Mac OS 11 - Big Sur
I am receiving "You don't have permission to access this resource." for perl scripts in /Library/WebServer/CGI-Executables/ on Mac OS 11 - Big Sur. I have a simple test script:
#!/usr/bin/...
-1
votes
1
answer
446
views
Apache Perl 500 "Internal Server Error" - malformed header from script. Bad header=<!DOCTYPE html> [duplicate]
I'm getting an Apache "500 Internal Server Error" even after installing Perl. Running the file from the terminal works fine (perl hello.pl).
Perl Mod setup with Apache everything is ...
K_G's user avatar
- 2,901
-1
votes
1
answer
352
views
How do I solve a 500 internal server error on a cgi file trying to run python
I want to run a python script on a website which is hosted by Strato (.nl), and I'm trying to do this with a CGI file.
My code: cgi file, python file and a dependencies file to add something to the ...
-1
votes
1
answer
183
views
Unable to redirect from index.html to a Perl script
My web server directories are:
/var/www/cgi-bin
/var/www/example.com/public_html
In my sites-enabled conf file I have:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/...
1
vote
1
answer
138
views
Need help sorting array in perl
using s perl script to parse an isc dhcp log, an merge it into a html table.
so far so good, works as it should. in the script is an option to sort the results by ip adress. the result is not sorted ...
0
votes
0
answers
248
views
redirect /cgi-bin/ via .htaccess 403 forbidden
I am trying to set up a 301 redirection from "/cgi-bin/" to https://example.com/test/ with the following rule in .htaccess file:
Redirect 301 /cgi-bin/ https://example.com/test/
but I get a ...
user avatar
user10990669
1
vote
1
answer
304
views
API key security using cgi script
I'm new-ish to web development. Setting up a hobby website for weather forecasting. I have an API key to make 'GET' requests from a forecasting service (openweathermap). I know I don't want to ...