Liam. Your ServerRoot should probably still be "/etc/apache2". ServerRoot is the root of the directory tree where your apache config files are kept. What I was referring to was your DocumentRoot which is what your WEBSERVER_ROOT environment variable should be set to. This DocumentRoot is the root directory where you serve your documents (i.e. index.html).
On Sun, Apr 21, 2013 at 12:04 PM, Liam Bell <bell.l...@gmail.com> wrote: > Hi Jimmy, > > I looked up the WEBSERVER_ROOT environment variable in my > /etc/apache2/apche2.conf file. > > I think the relevant section is this: > # Global configuration > # > > # > # ServerRoot: The top of the directory tree under which the server's > # configuration, error, and log files are kept. > # > # NOTE! If you intend to place this on an NFS (or otherwise network) > # mounted filesystem then please read the LockFile documentation (available > # at <URL:http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile>); > # you will save yourself a lot of trouble. > # > # Do NOT add a slash at the end of the directory path. > # > #ServerRoot "/etc/apache2" > > To which I edited so that, > ServerRoot "/var/www" > > The index.html file you mentioned is located at /var/www/index.html > > I then restarted apache and got the following: > liam@liam-Y500:~$ sudo /etc/init.d/apache2 restart > [sudo] password for liam: > apache2: Syntax error on line 240 of /etc/apache2/apache2.conf: Include > directory '/var/www/mods-enabled' not found > Action 'configtest' failed. > The Apache error log may have more information. > ...fail! > > What is going wrong? If I go to localhost in a web browser I still get "It > works!". > > > On 21 April 2013 20:48, Jimmy Eng <jke...@gmail.com> wrote: > >> Liam, >> >> At this point, perl is not the issue for you; our problem is definitely >> with your apache config. The WEBSERVER_ROOT environment variable should >> point to your webserver's document root i.e. the directory that contains >> the index.html file that says "It Works!". Is it possibly /var/www/html? >> I can't imagine it being really /usr/local/ as you have in your apache2 >> config file for TPP below. One step at a time so fix that first, restart >> apache, and try and to access http://localhost/tpp/cgi-bin/tpp_gui.pl. >> If the page doesn't open, what is the error message in your apache error >> log file? >> >> # directory for tpp's executable files >> ScriptAlias /tpp/cgi-bin "/usr/local/tpp/cgi-bin" >> <Directory "/usr/local/tpp/cgi-bin"> >> #AllowOverride AuthConfig Limit >> AllowOverride All >> Options Indexes +FollowSymLinks MultiViews ExecCGI >> +Includes >> AddHandler default-handler .jpg .png .css .ico .gif >> AddHandler cgi-script .cgi .pl >> Order allow,deny >> Allow from all >> SetEnv WEBSERVER_ROOT /usr/local/ >> *Is it possible the above line should read /usr/local/tpp/ ???* >> #SetEnv WEBSERVER_ROOT /var/www >> </Directory> >> >> - Jimmy >> >> >> >> On Sun, Apr 21, 2013 at 10:44 AM, Liam Bell <bell.l...@gmail.com> wrote: >> >>> Nope - no dice... >>> >>> Changed the PERL_LIB_CORE= /usr/lib/perl/15.4.2/CORE in the >>> makefile.conf.incl file before re-running the compiling/building. >>> >>> Ran through the rest fo the steps from >>> http://tools.proteomecenter.org/wiki/index.php?title=TPP_4.5.2:_Installing_on_Ubuntu_10.04.3 >>> as >>> I have done successfully before. >>> >>> The server is working still (localhost => It works!) but I can't load up >>> http://localhost/tpp/cgi-bin/tpp_gui.pl - still getting "The requested >>> URL /tpp/cgi-bin/tpp_gui.pl was not found on this server." >>> >>> Any other ideas? >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "spctools-discuss" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/spctools-discuss/pzyzzSmoBxY/unsubscribe?hl=en >> . >> To unsubscribe from this group and all its topics, send an email to >> spctools-discuss+unsubscr...@googlegroups.com. >> To post to this group, send email to spctools-discuss@googlegroups.com. >> Visit this group at http://groups.google.com/group/spctools-discuss?hl=en >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "spctools-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to spctools-discuss+unsubscr...@googlegroups.com. > To post to this group, send email to spctools-discuss@googlegroups.com. > Visit this group at http://groups.google.com/group/spctools-discuss?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "spctools-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to spctools-discuss+unsubscr...@googlegroups.com. To post to this group, send email to spctools-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/spctools-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out.