Questions tagged [cgi-bin]

17 questions
2
votes
2 answers

Apache 2.4.27 mod_rewrite to cgi-bin fails

Apache 2.4.27 on Oracle Linux 7 x64. I can make proper calls to https://example.com/cgi-bin/helloworld.cgi. The simple Perl script returns "Hello, world via cgi-bin!" I can make proper calls to static content in…
AaronG
  • 31
  • 1
  • 2
1
vote
2 answers

Redirect FROM cgi-bin to home page

We are currently building on a domain that was previously used by someone else. We have managed to 301 redirect everything except for one page: http://www.mysite.com/cgi-bin/link.cgi I have tried redirecting everything from the cgi-bin directory…
Jon
  • 11
  • 2
1
vote
2 answers

Trying to run a codeigniter app on custom php

I have a CodeIgniter app that I deployed to a server with php 5.2 and my dev box has 5.3, and some stuff doesn't work anymore. I didn't want to upgrade php and risk the other app on the server having issues. Anyway I compiled a custom PHP and…
hamstar
  • 685
  • 3
  • 8
  • 19
1
vote
0 answers

How do I configure an Apache 2.4 virtual server to run a perl script

Using webmin I setup an Apache virtual server under ubuntu 18.04. Server directives are: DocumentRoot /home/name/public_html ServerName www.name.com allow from all Options None Require all granted …
MGibbons
  • 21
  • 2
0
votes
3 answers

cgi-bin folder?

I have these files in cgi-bin folder: cgiecho cgiemail entropybanner.cgi randhtml.cgi I have no idea why I have that folder, or why I need it. Can someone explain in plain English, and let me know whether or not it is safe to delete this folder?
Gavrisimo
  • 181
  • 3
  • 9
0
votes
0 answers

google site map generator can't login admin console

I installed Google Sitemap Generator for linux x86_64 CentOS 6 But when I try to login to the admin console using this link myserverip:8181 and my password nothing happened. After refreshing I only got about 20% of the page loaded. If I try to…
adnan
  • 101
  • 1
  • 4
0
votes
1 answer

Making lighttpd redirect from www.example.com to www.example.com/cgi-bin/index.pl

What the title says.. www.example.com is defined in lighttpd.conf as a virtual host: $HTTP["host"] =~ "(^|\.)example.com$" { server.document-root = "/usr/www/example.com/http" accesslog.filename =…
Jarmund
  • 535
  • 1
  • 6
  • 16
0
votes
2 answers

Is this script nefarious?

This is sitting in my web site's cgi-bin. Should I be concerned about it? #!/usr/bin/perl print <
binaryorganic
  • 5,901
  • 4
  • 17
  • 19
0
votes
1 answer

How to get Apache to serve SSL Bugzilla CGI from a subpage (NOT subdomain)?

I'm trying to set up Bugzilla with SSL to be served by Apache from https://www.foo.com/bugzilla since I don't want to pay for an extra SSL cert to get a subdomain for bugzilla. What is the best approach for this? Should I use mod_rewrite? There is…
Tim
  • 101
  • 2
0
votes
2 answers

Problem with cgi-bin directory

I want to execute cgi files from /var/www/html/cgi-bin and /var/www/html/s1/cgi-bin. I currently have this in my httpd.conf Options Indexes FollowSymLinks ExecCGI ScriptAlias /cgi-bin/ "/var/www/html/cgi-bin/" # # "/var/www/cgi-bin" should be…
Matthew Hui
  • 261
  • 8
  • 18
0
votes
1 answer

access cgi script from a subdomain with nicer URL

I want to access this page (working) http://stats.example.com/cgi-bin/awstats.pl?config=www.example.com via http://stats.example.com/?config=www.example.com ServerName stats.example.com DocumentRoot…
Moak
  • 604
  • 2
  • 10
  • 29
0
votes
1 answer

404 Not Found for a PL script that exists!

I make a GET request to a CGI script and I get a 404 error. However, I am 100% sure that script is present and it has permissions: -rwxr-xr-x 1 apache apache 6520 Sep 7 03:01 uu_ini_status_audios.pl The request URL…
Abs
  • 1,429
  • 4
  • 18
  • 32
0
votes
1 answer

When I get 500 Internal Server Errors for Python scripts, where can I find the log file

Sorry for the newb question, I just got a VPS and I've installed Python and moved my site over. Everything works, but when I try to run scripts (in /cgi-bin/ ) I get 500 Internal Server Error. Where can I locate the error log for this? My info…
Parker
  • 101
  • 1
  • 4
0
votes
0 answers

Apache server is throwing error intermittently get unexpected signal 6

I am facing some weird issue for autoscaling one of service in AWS ECS cluster. Might be this is reason "[Thu May 26 10:27:27 2022] [error] mod_fcgid: process /var/www/cgi-bin/mapserv(18180) exit(communication error), get unexpected signal 6" if yes…
0
votes
0 answers

wordpress index of cgi-bin (not the whole list of files though)

I have setup a few wordpress with centos, apache in the same server and they all works fine. But somehow this is with this wordpress, when I go to the domain.com it just shows Index of / Name Last modified Size Description cgi-bin/ …
Dora
  • 341
  • 1
  • 3
  • 14
1
2