Also look into the difference between 'Alias' and 'ScriptAlias' in your apache setting below; I think you want 'Alias' for the document (data) directory remapping as ScriptAlias is meant for directories that contain CGI scripts.
If you want to store your results in /tpp/data/, consider mapping that to <webserverroot>/tpp/data/ instead of <webserverroot>/data/ as I think you're going to have problems with links in the tools when the real path (/tpp/data) the webserver path (/data) are not consistent. On Wed, Apr 13, 2011 at 10:37 AM, Joseph Slagel <[email protected]> wrote: > Huan, > > What is the actual path and file permisions to the pep.shtml and prot.shtml > files on your system? > > -Joe > > > On Mon, Apr 11, 2011 at 10:42 AM, Huan Wang <[email protected]> wrote: >> >> Hi, >> >> I installed TPP v4.4 VUVUZELA rev 1, Build 201101181419 (linux) on >> Ubuntu 10.04-64bit. After running the tutorial data (raft5051) in >> peptide prophet, I got "Command Successful" message. However, when I >> click the link of output shtml, I got "404 Not Found, The requested >> URL /data/testinteract.pep.xml was not found on this server". I >> checked the path and both pep.shtml and prot.shtml are there. There >> are also corresponding .xml and .xsl files. I can open the generated >> pep.xml file but not prot.xml files (same error). >> >> My guess is I did not set up apache2 correctly because another copy of >> TPP runs on Windows can display the result without problem. >> >> My apache2 setting is: /etc/apache2/sites-available/mytpp: >> SetEnv WEBSERVER_ROOT /usr/local/tpp >> # directory to store data for web browser viewing >> ScriptAlias /tpp/data "/usr/local/tpp/data" >> <Directory "/usr/local/tpp/data"> >> AllowOverride None >> Options Indexes FollowSymLinks Includes >> Order allow,deny >> Allow from all >> </Directory> >> >> My /usr/local/tpp/cgi-bin/tpp_gui setting is >> >> my $www_root = readconfig('www_root',$ENV{'WEBSERVER_ROOT'}.'/'); >> # full path to web server root >> my $data_dir = readconfig('data_dir',"${www_root}data/"); >> >> They matched to each other. I also tried to change the path to /usr/ >> local/tpp/ISB/data, but got the same thing. >> >> Can anyone help me out? Thanks >> >> Huan >> >> -- >> You received this message because you are subscribed to the Google Groups >> "spctools-discuss" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/spctools-discuss?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "spctools-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/spctools-discuss?hl=en. > -- You received this message because you are subscribed to the Google Groups "spctools-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spctools-discuss?hl=en.
