Reputation: 5 Worker
- Active Members
- Active Posts:
- 81 (0.03 per day)
- 10-March 08
- Profile Views:
- Last Active:
- May 15 2015 07:16 PM
- Dream Kudos:
Posts I've Made
Posted 15 May 2015You are aware you have a typo in that are you? Look at $JAVA_HOME
No, I wasn't aware I made that typo- thanks for pointing it out so I could fix it. I assure you I only made that typo in writing the post, when I ran ant I used the correctly spelled "$JAVA_HOME".
Posted 7 Oct 2014Update: I have a new lead- apparently CGI is disabled by default in the latest version of Apache. I'm going to try recompiling with the options specified at the above link and see if that fixes things.
Posted 6 Oct 2014Ok I finally figured out my problem- /usr/local/apache2/conf/httpd.conf needed to have "Include /etc/apache2/sites-enabled/" added to it. Apparently this (/usr/local/apache2/conf/httpd.conf) is the main configuration file for the version of httpd I'm running, and it seems /etc/apache2/apache2.conf, which was supposed to be the main config file, doesn't do anything important at all (I renamed it to httpd.conf.old and httpd's operation has been unaffected).
My problem now is CGI isn't working- I've followed this Apache tutorial, adding ScriptAlias to declare my scripting directory, adding Options +ExecCGI (in addition to making sure the filesystem permissions are set to executable) to make the scripts executable by Apache, and added AddHandler to let the web server know which file extensions are executable scripts. But when I navigate to the file in a browser the contents of the script, not the output, appears (i.e. the browser tries to download the file).
Here's my httpd.conf.
And my additions spun off into a separate file and linked to the above by an Include.
Posted 5 Oct 2014That's what I've been doing but for some unknown reason it doesn't work.
Posted 4 Oct 2014I don't have an /etc/httpd/ directory. However I do have a /usr/local/apache2/conf directory that contains a httpd.conf file.
But the most up-to-date documentation I can find says that on Debian systems /etc/apache2/apache2.conf is the main configuration file (that's where I've done my customizations), and/usr/local/apache2/conf/httpd.conf is obselete, so I've mostly ignored it. There's also a /etc/apache2/httpd.conf which is completely blank.
There has to be something here I'm missing. It's like my .../sites-enabled/ directory is being completely ignored.
- Member Title:
- D.I.C Head
- Age Unknown
- Birthday Unknown
- Click here to e-mail me
Logomachist hasn't added any friends yet.