Questions tagged [cgi-bin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
182 views

Issues with cgi-bin scripts using uWSGI and nginx

I am trying to get cgi-bin scripts running on an nginx system using uWSGI and I am having issues with this, and with debugging this to figure out what is going wrong. The system is a Raspberry Pi ...
John Tate's user avatar
  • 179
1 vote
0 answers
174 views

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 <Directory "/home/name/public_html">...
MGibbons's user avatar
0 votes
0 answers
1k views

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 ...
Dora's user avatar
  • 341
2 votes
2 answers
1k views

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 ...
AaronG's user avatar
  • 31
-1 votes
1 answer
450 views

Error when access folder cgi-bin

I created an folder with name "cgi-bin" on /var/www" When I tried access this folder I receive error 403 Forbidden - You don't have permission to access /cgi-bin/ on this server. I try this on ...
Edgar Oliveira's user avatar
0 votes
0 answers
182 views

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 ...
adnan's user avatar
  • 101
0 votes
1 answer
815 views

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" ...
Jarmund's user avatar
  • 535
0 votes
2 answers
263 views

Is this script nefarious?

This is sitting in my web site's cgi-bin. Should I be concerned about it? #!/usr/bin/perl print <<HTML; Content-type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 ...
binaryorganic's user avatar
-2 votes
2 answers
625 views

How safe is it to use shell or bash scripting to add dynamic features to a website like processing POST data

I have a simple home web server set up with Apache, but I would rather not have to install and use PHP. I was looking into scripting to deal with the basic dynamic portions of my website. However, I'...
Dennis's user avatar
  • 135
0 votes
1 answer
1k views

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 ...
Tim's user avatar
  • 101
0 votes
2 answers
4k views

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/...
Matthew Hui's user avatar
0 votes
1 answer
197 views

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 <VirtualHost *:80> ...
Moak's user avatar
  • 784
1 vote
2 answers
2k views

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 ...
Jon's user avatar
  • 11
0 votes
1 answer
4k views

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....
Abs's user avatar
  • 1,599
0 votes
2 answers
3k views

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 ...
Parker's user avatar
  • 101
1 vote
2 answers
2k views

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 ...
hamstar's user avatar
  • 765
0 votes
3 answers
869 views

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 ...
Gavrisimo's user avatar
  • 181