cgiscripts not working
I (hope that I) did the Installation of apache-pandoc as described in the README.md. Pointing my browser to localhost/pandoc shows me "The requested URL /pandoc-cgi/pandoc.py/pandoc/index.md was not found on this server." The index.md - file is in the right directory. I think, that I've got a problem with my cgi-execution. Running a cgi script doesn't work either. Can you point me in the right direction?
thanks,
grisuf
w3m -dump localhost/pandoc
Not Found
The requested URL /pandoc-cgi/pandoc.py/pandoc/index.md was not found on this
server.
Apache/2.4.10 (Ubuntu) Server at localhost Port 80
w3m -dump localhost/pandoc-cgi/test.cgi
#!/usr/bin/perl -w
print "Content-Type: text/html\n\n";
print "<html><head><title>TEST-CGI-SKRIPT</title></head>\n";
print "<body><h1>Gratulation!!! Ihr erstes CGI-Skript.</h1></body></html>";
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
apache2 -v
Server version: Apache/2.4.10 (Ubuntu)
Server built: Jul 24 2015 17:25:18
Did you create an index.md file in the pandoc directory?
The requested URL /pandoc-cgi/pandoc.py/pandoc/index.md was not found on this
server.
yes
Make sure to enable the cgi module in apache.
sudo a2enmod cgi
You will also need to add this to your <directory></directory>:
Options +ExecCGI
AddHandler cgi-script .py
to your directory.