Trying to access the gui page I still get the same error message (404 Not
found):
Not Found

The requested URL /tpp/cgi-bin/tpp_gui.pl was not found on this server.
------------------------------
Apache/2.2.22 (Ubuntu) Server at localhost Port 80


On 21 April 2013 21:04, Liam Bell <[email protected]> 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 <[email protected]> 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 <[email protected]> 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
>> [email protected].
>> To post to this group, send email to [email protected].
>> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spctools-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to