Hi!
I just installed Ubuntu with Apache, and I'm trying to run a perl script but without any success... It was a pain to find where the server is located (/var/www), then I created a directory /var/www/app to put in my script, but when I go to my server e.g.
http://localhost/app/main.pl, it shows the source of my script! I've changed the mode of my "app" directory to 0755, and I checked the "Allow executing files as a program" but still, nothing has changed. After that I went into the apache configuration file, apache2.conf to see if I can't find anything, then I saw this :
#
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain
.... Sweet, now I change that text/plain to application/octet-stream, but STILL nothing... I am now out of resource
Thanks for any help,
max.