The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
221 views

How to run `chmod` command form script with sudo permissions?

I want the change the permissions of /dev/ttyACM0 from a script. I have tried this command: su -c "chmod -R 777 /dev/ttyACM*" -m "$user". When I execute the script it is asking for a password. I ...
1
vote
1answer
412 views

Running Binary cgi on apache2

How do I get apache2 to run binaries as cgi. I have a test page, that when I access it, it returns the error code 500 Internal Server Error, and there is an "End of script output before headers" ...
0
votes
1answer
244 views

Where do I get PHP-CGI binaries for Ubuntu?

I want to set up an Nginx or Apache server which is PHP-capable. In order to use multiple PHP versions in parallel I need to use CGI. I can set up the CGI stuff, but where do I get PHP binaries from? ...
0
votes
1answer
5k views

Error in apache configuration

Initially my PHP was running well and after that when I installed perl CGI modules in order to run my CGI programs, there was problem. From the local host, I am not able to compile my PhP files nor ...
0
votes
1answer
491 views

How do I enable CGI execution in the root directory of Apache

I have built an Ubuntu server and need to execute CGI scripts in the root directory. I keep finding tutorials on how to execute them from cgi-bin but that isn't desired in my situation. I've installed ...
0
votes
1answer
122 views

Perl: problem with locales

I'm trying to install CGIProxy on my Ubuntu server and according to the instructions I have to: Copy the file nph-proxy.cgi onto your Web server somewhere, but not at the top Web directory, or else ...
0
votes
1answer
3k views

How can I install php5-fpm and apache and configure the apache vhost?

I don't find a valid a description how can I install configure the apache vhost correctly. Can everybody help me? <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName ...
0
votes
1answer
434 views

Local cgi server

I'm doing some python cgi programming and was wondering if there was a script for running cgi instead of having to install an entire LAMP server for doing it. I've been using CGIHTTPServer but it ...
-1
votes
1answer
100 views

Why do I see cgi source code on my webserver instead of its output?

In case 1, I cannot see the cgi script executed output in browser and see source code instead. However, in case 2, with similar configuration i can see the cgi script executed output in browser. Case ...
1
vote
0answers
735 views

Ubuntu 13.10 install php-fpm with apache 2.4

I tried multiple tutorials on how to install php-fpm (cgi) with apache2. None of them worked with 13.10. I even installed ubuntu completly new after each one. This is one for example: How to configure ...
0
votes
0answers
38 views

“you don't have permission to access /cgi-bin/fp on this server” error on ubuntu localhost

I'm trying to run a website on localhost. When I run localhost, I encounter the following error: How can I fix this problem? Thanks
0
votes
0answers
18 views

HTTPS access to CGI rejected

I have Apache2 (2.4.7) based Web server on ubuntu 14.04 LTS. I introduced CyberTrust SSL of SureServer EV, and experiencing permission error only to cgi files. HTTPS access to *.html works fine by ...
0
votes
0answers
35 views

How to fix Faq-O-Matic fom.cgi XSS security issue

I hope someone can help me. I ran a security check against my server and it gave me a security warning about Faq-O-Matic. I need to find a way to fix this security error. I have googled and lots of ...
0
votes
0answers
117 views

How do I fix empty localhost/cgi-bin directory?

I am able to open the localhost/cgi-bin folder but it is empty. I have created a few files in /usr/lib/cgi-bin with 755 permissions. Content of /etc/apache2/apache2.conf Mutex ...
0
votes
0answers
183 views

Ubuntu-14.04-LTS-trusty: Installing and Running Apache2 with IIPImageServer

I followed these installation instructions to get a local Apache2 webserver together with libapache2-mod-fastcgi and iipimage-server installed and running. (Actually Ubuntu is running in a Virtual ...