I've searched around for this topic and found articles on how to
relocate the entire directory structure in windows (which I've done
and it works out) by changing C:\ to D:\ in the apache2/conf/
httpd.conf file, copying the entire folder hierarchy to D:\ and
changing the WEBSERVER_ROOT and PATH to D:\. I wanted to do something
similar in Ubuntu 9.10 (and other linux distros) so I installed the
TPP v4.3 rev 1 following the instructions provided by
http://tools.proteomecenter.org/wiki/index.php?title=TPP_4.2.1:_Installing_on_Ubuntu_9.04.
All the binaries/scrips I want to use run fine, namely tandem.exe,
Tandem2XML, and xinteract (I prefer to use the command line instead of
the gui). The only issue is viewing the resultant data files through
the browser. Below, I've included the httpd.conf file (as shown in
the installation tutorial).
The first problem is that while the tpp_gui.pl script opens in the
browser (http://localhost/tpp/cgi-bin/tpp_gui.pl), I get a "403
Forbidden, You don't have permission to access /tpp/data/ on this
server" when I navigate to http://localhost/tpp/data. This occurs
even if I give the /tpp/data directory read/write permission and even
change owner to the user.
The second is, I would like to analyze my data in another directory,
let's say /home/charles/data while keeping the binaries/scripts in
the /usr/local/apps/tpp directory. I can only think of the following
changes:
ScriptAlias /tpp/data "/usr/local/apps/tpp/data" ---> ScriptAlias /
tpp/data "/home/charles/data"
<Directory "/usr/local/apps/tpp/data"> ---> <Directory "/home/charles/
data">
However, I still get the 403 Forbidden error. Does anyone know of how
to make this arrangement work? Also, if you know of any instances of
hard-coded directory variables that I may need to change, especially
in xinteract, it would be much appreciated.
Thanks,
Charles
------------------------ BEGIN HTTPD.CONF
-------------------------------
<VirtualHost *:80>
DocumentRoot /var/www
#SetEnv WEBSERVER_ROOT /usr/local/apps/tpp
SetEnv WEBSERVER_ROOT /var/www
# Access logs
<IfModule log_config_module>
# Directives defining formatting of access log output
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i
\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-
Agent}i\" %I %O" combinedio
</IfModule>
CustomLog /var/log/tpp/tpp_access_log common
</IfModule>
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
#<Directory /usr/local/apps/tpp/>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
# directory to store data for web browser viewing
ScriptAlias /tpp/data "/usr/local/apps/tpp/data"
<Directory "/usr/local/apps/tpp/data">
AllowOverride None
Options Indexes FollowSymLinks Includes
Order allow,deny
Allow from all
</Directory>
# directory for tpp's html resources (css, js, images, etc)
ScriptAlias /tpp/html "/usr/local/apps/tpp/html"
<Directory "/usr/local/apps/tpp/html">
AllowOverride None
Options Includes Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>
# directory for tpp's schema resources
<Directory "/usr/local/apps/tpp/schema">
AllowOverride None
Options Includes Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>
# directory for tpp's executable files
ScriptAlias /tpp/cgi-bin "/usr/local/apps/tpp/cgi-bin"
<Directory "/usr/local/apps/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/apps
#SetEnv WEBSERVER_ROOT /var/www
</Directory>
</VirtualHost>
-------------------------- END HTTPD.CONF
--------------------------------
--
You received this message because you are subscribed to the Google Groups "spctools-discuss" group.
To post to this group, send email to spctools...@googlegroups.com.
To unsubscribe from this group, send email to spctools-discu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spctools-discuss?hl=en.
Sorry for the generic description, I just wanted to keep it short.
But yes, D is just a partition on my local drive. I had a similar
situation to you when I just tried changing the C:/Inetpub/wwwroot/ISB/
data to D:/data or something. So if it's not going to be a hassle,
just copy the entire directory tree from C:/Inetpub to \\network
\Inetpub and make the appropriate changes in the WWWROOT and PATH to
reflect the change.
I also found that you have to keep /tpp-bin in the default location on
the C: because it seems like some of programs (xinteract for one) have
the C:\Inetpub\tpp-bin path hard coded into the binary.
Hope this helps,
Charles
> > spctools-discu...@googlegroups.com<spctools-discuss%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to spctools-discu...@googlegroups.com.
Charles
Mar 12, 10:23 am, Vishal Swaroop <vishal....@gmail.com> wrote:
> Thanks for replying Charles... I tried the following, but it gets stuck on
> running "PepXMLViewer.cgi"
>
> If any one can help on this, I will be very thankful....
>
> Issue :
> When I run XInteract even from command prompt all processes like
> "InteractParser, PeptideProphetParser, ProphetModels, DatabaseParser,
> RefreshParser" runs fine BUT it gets stuck on running "PepXMLViewer.cgi"
>
> Brief details :
> a) I have exact copy of Inetpub from my c drive to mapped network drive.
>
> b) Consider my mapped drive is X: and I can see
> X:\Inetpub\wwwroot and X:\Inetpub\tpp-bin
>
> c) I can also browse using \\server\Inetpub\ <file://server/Inetpub/>
> d) My httpd.conf looks like this i.e. changed data drive to
> *Alias /ISB "//server/Inetpub/wwwroot/ISB"
> <Directory "//server/Inetpub/wwwroot/ISB">*
> --------------------------------------------------------------------------- --------------
> AddType text/html .shtml
> AddHandler server-parsed .shtml
> SetEnv WEBSERVER_ROOT X:/Inetpub/wwwroot
> SetEnv WEBSERVER_URLhttp://localhost:80<http://localhost/>
> *Alias /ISB "//server/Inetpub/wwwroot/ISB"
> <Directory "//server/Inetpub/wwwroot/ISB">
> * AllowOverride None
> *"running: "X:/Inetpub/wwwroot/../tpp-bin/PepXMLViewer.cgi -I
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml""
> *
>
> This is the out-put on command window....
> --------------------------------------------------------------------------- --------------------------
> X:\Inetpub\wwwroot\ISB\data\SAN\aTPPiclData\server\Test_Executer\iTRAQ_Carb amidomethyl_PQD_research>run_in
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research;
> x:\Inetpub\tpp-bin\xinteract -NTest_interact.xml -p0.000 -l20 -Op -dREV
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/02271 0_G0311_P01129_PQD_01.pep.xml
> x:\Inetpub\tpp-bin\xinteract (TPP v4.3 JETSTREAM rev 1, Build 200909091257
> (MinGW))
> running: "C:/Inetpub/tpp-bin/InteractParser "Test_interact.xml"
> "x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/0227 10_G0311_P01129_PQD_01.pep.xml"
> -L"20"" file 1:
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/02271 0_G0311_P01129_PQD_01.pep.xml
> processed altogether 1445 results
>
> results written to file
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml
> direct your browser tohttp://localhost/ISB/data/SAN/iclData/server/Test_Executer/research/T...
> > > On Thu, Mar 11, 2010 at 1:40 PM, Charles <charlesyoo...@gmail.com>
> > wrote:
>
> > > > Hello,
>
> > > > I've searched around for this topic and found articles on how to
> > > > relocate the entire directory structure in windows (which I've done
> > > > and it works out) by changing C:\ to D:\ in the apache2/conf/
> > > > httpd.conf file, copying the entire folder hierarchy to D:\ and
> > > > changing the WEBSERVER_ROOT and PATH to D:\. I wanted to do something
> > > > similar in Ubuntu 9.10 (and other linux distros) so I installed the
> > > > TPP v4.3 rev 1 following the instructions provided by
>
> >http://tools.proteomecenter.org/wiki/index.php?title=TPP_4.2.1:_Insta...
> > > > .
> > > > All the binaries/scrips I want to use run fine, namely tandem.exe,
> > > > Tandem2XML, and xinteract (I prefer to use the command line instead of
> > > > the gui). The only issue is viewing the resultant data files through
> > > > the browser. Below, I've included the httpd.conf file (as shown in
> > > > the installation tutorial).
>
> > > > The first problem is that while the tpp_gui.pl script opens in the
> > > > browser (http://localhost/tpp/cgi-bin/tpp_gui.pl), I get a "403
> > > > Forbidden, You don't have permission to access /tpp/data/ on this
> > > > server" when I navigate tohttp://localhost/tpp/data. This occurs
> > > > even if I give the /tpp/data directory read/write permission and even
> > > > change owner to the user.
>
> > > > The second is, I would like to analyze my data in another directory,
> > > > let's say /home/charles/data while keeping the binaries/scripts in
> > > > the /usr/local/apps/tpp directory. I can only think of the following
> > > > changes:
>
> > > > ScriptAlias /tpp/data "/usr/local/apps/tpp/data" --->
> > ScriptAlias /
> > > > tpp/data "/home/charles/data"
> > > > <Directory "/usr/local/apps/tpp/data"> ---> <Directory
> > > > "/home/charles/
> > > > data">
>
> > > > However, I still get the 403 Forbidden error. Does anyone know of how
> > > > to make this arrangement work? Also, if you know of any instances of
> > > > hard-coded directory variables that I may need to change, especially
> > > > in xinteract, it would be much appreciated.
>
> > > > Thanks,
> > > > Charles
>
> > > > ------------------------ BEGIN HTTPD.CONF
> > > > -------------------------------
>
> > > > <VirtualHost *:80>
>
> > > > DocumentRoot /var/www
>
> ...
>
> read more »
Charles
On Mar 12, 10:23 am, Vishal Swaroop <vishal....@gmail.com> wrote:
> Thanks for replying Charles... I tried the following, but it gets stuck on
> running "PepXMLViewer.cgi"
>
> If any one can help on this, I will be very thankful....
>
> Issue :
> When I run XInteract even from command prompt all processes like
> "InteractParser, PeptideProphetParser, ProphetModels, DatabaseParser,
> RefreshParser" runs fine BUT it gets stuck on running "PepXMLViewer.cgi"
>
> Brief details :
> a) I have exact copy of Inetpub from my c drive to mapped network drive.
>
> b) Consider my mapped drive is X: and I can see
> X:\Inetpub\wwwroot and X:\Inetpub\tpp-bin
>
> c) I can also browse using \\server\Inetpub\ <file://server/Inetpub/>
> d) My httpd.conf looks like this i.e. changed data drive to
> *Alias /ISB "//server/Inetpub/wwwroot/ISB"
> <Directory "//server/Inetpub/wwwroot/ISB">*
> --------------------------------------------------------------------------- --------------
> AddType text/html .shtml
> AddHandler server-parsed .shtml
> SetEnv WEBSERVER_ROOT X:/Inetpub/wwwroot
> SetEnv WEBSERVER_URLhttp://localhost:80<http://localhost/>
> *Alias /ISB "//server/Inetpub/wwwroot/ISB"
> <Directory "//server/Inetpub/wwwroot/ISB">
> * AllowOverride None
> *"running: "X:/Inetpub/wwwroot/../tpp-bin/PepXMLViewer.cgi -I
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml""
> *
>
> This is the out-put on command window....
> --------------------------------------------------------------------------- --------------------------
> X:\Inetpub\wwwroot\ISB\data\SAN\aTPPiclData\server\Test_Executer\iTRAQ_Carb amidomethyl_PQD_research>run_in
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research;
> x:\Inetpub\tpp-bin\xinteract -NTest_interact.xml -p0.000 -l20 -Op -dREV
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/02271 0_G0311_P01129_PQD_01.pep.xml
> x:\Inetpub\tpp-bin\xinteract (TPP v4.3 JETSTREAM rev 1, Build 200909091257
> (MinGW))
> running: "C:/Inetpub/tpp-bin/InteractParser "Test_interact.xml"
> "x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/0227 10_G0311_P01129_PQD_01.pep.xml"
> -L"20"" file 1:
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/02271 0_G0311_P01129_PQD_01.pep.xml
> processed altogether 1445 results
>
> results written to file
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml
> direct your browser tohttp://localhost/ISB/data/SAN/iclData/server/Test_Executer/research/T...
>
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml"
> ....gets stuck here forever
> --------------------------------------------------------------------------- --------------------------
>
> Regards
> Val
>
>
>
> On Thu, Mar 11, 2010 at 8:27 PM, Charles <charlesyoo...@gmail.com> wrote:
> > Hi Val,
>
> > Sorry for the generic description, I just wanted to keep it short.
> > But yes, D is just a partition on my local drive. I had a similar
> > situation to you when I just tried changing the C:/Inetpub/wwwroot/ISB/
> > data to D:/data or something. So if it's not going to be a hassle,
> > just copy the entire directory tree from C:/Inetpub to \\network
> > \Inetpub and make the appropriate changes in the WWWROOT and PATH to
> > reflect the change.
>
> > I also found that you have to keep /tpp-bin in the default location on
> > the C: because it seems like some of programs (xinteract for one) have
> > the C:\Inetpub\tpp-bin path hard coded into the binary.
>
> > Hope this helps,
> > Charles
>
> > Vishal Swaroop wrote:
> > > Hi Charles,
>
> > > For windows, is D drive local on your machine?
>
> > > I am trying to right data to mapped network drive, when I run XInteract
> > from
> > > GUI, it hangs on PepXMLViewer.cgi forever, do you have any idea.
>
> > > Regards
> > > Val
>
> > > On Thu, Mar 11, 2010 at 1:40 PM, Charles <charlesyoo...@gmail.com>
> > wrote:
>
> > > > Hello,
>
> > > > I've searched around for this topic and found articles on how to
> > > > relocate the entire directory structure in windows (which I've done
> > > > and it works out) by changing C:\ to D:\ in the apache2/conf/
> > > > httpd.conf file, copying the entire folder hierarchy to D:\ and
> > > > changing the WEBSERVER_ROOT and PATH to D:\. I wanted to do something
> > > > similar in Ubuntu 9.10 (and other linux distros) so I installed the
> > > > TPP v4.3 rev 1 following the instructions provided by
>
> >http://tools.proteomecenter.org/wiki/index.php?title=TPP_4.2.1:_Insta...
> > > > .
> > > > All the binaries/scrips I want to use run fine, namely tandem.exe,
> > > > Tandem2XML, and xinteract (I prefer to use the command line instead of
> > > > the gui). The only issue is viewing the resultant data files through
> > > > the browser. Below, I've included the httpd.conf file (as shown in
> > > > the installation tutorial).
>
> > > > The first problem is that while the tpp_gui.pl script opens in the
> > > > browser (http://localhost/tpp/cgi-bin/tpp_gui.pl), I get a "403
> > > > Forbidden, You don't have permission to access /tpp/data/ on this
> > > > server" when I navigate tohttp://localhost/tpp/data. This occurs
> > > > even if I give the /tpp/data directory read/write permission and even
> > > > change owner to the user.
>
> > > > The second is, I would like to analyze my data in another directory,
> > > > let's say /home/charles/data while keeping the binaries/scripts in
> > > > the /usr/local/apps/tpp directory. I can only think of the following
> > > > changes:
>
> > > > ScriptAlias /tpp/data "/usr/local/apps/tpp/data" --->
> > ScriptAlias /
> > > > tpp/data "/home/charles/data"
> > > > <Directory "/usr/local/apps/tpp/data"> ---> <Directory
> > > > "/home/charles/
> > > > data">
>
> > > > However, I still get the 403 Forbidden error. Does anyone know of how
> > > > to make this arrangement work? Also, if you know of any instances of
> > > > hard-coded directory variables that I may need to change, especially
> > > > in xinteract, it would be much appreciated.
>
> > > > Thanks,
> > > > Charles
>
> > > > ------------------------ BEGIN HTTPD.CONF
> > > > -------------------------------
>
> > > > <VirtualHost *:80>
>
> > > > DocumentRoot /var/www
>
> ...
>
> read more »
--
"X:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/
022710_G0311_P01129
_PQD_01 (MASCOT)"...
=> Total of 0 hits.
Happens, as in your case, regardless of me not having modified the
data directory..
You should probably try a different set of data for double checking
this, where the final hits are >0.
On Mar 15, 3:10 am, Vishal Swaroop <vishal....@gmail.com> wrote:
> Hi Charles,
>
> I tried everything... but it is possible that I am missing something very
> small, should I also change tpp-bin path in httpd.conf.
>
> It will be of great help if you can send your httpd.conf and tppgui.pl
>
> It works for other files,but hangs on PepXMLViewer.cgi while creating
> .xml.index file..
>
> Pls help.
>
> Regards
> Val
>
> ...
>
> read more »
I've uploaded my httpd.conf file in the Files section.
Hope this helps,
Charles
> ...
>
> read more »
> ...
>
> read more »
Quick Question : I can see reference to "D:/Inetpub/isb-bin" in your
httpd.conf, I don't have this when I installed
"TPP_Setup_v4_3_JETSTREAM_rev_1"
Is it because of some older version of TPP.
On Mar 16, 12:23 pm, Charles <charlesyoo...@gmail.com> wrote:
> I just followed the instructions more or less fromhttp://frank.neatstep.com/node/11
> > > > > b) Consider my mappeddriveis X: and I can see
> > > > > > But yes, D is just a partition on my localdrive. I had a similar
> > > > > > situation to you when I just tried changing the C:/Inetpub/wwwroot/ISB/
> > > > > > data to D:/data or something. So if it's not going to be a hassle,
>
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -
> ...
>
> read more »
Hi All,
I thought of sharing my experience for making TPP - Apache to work with network drive.
Here is my finding for trouble shooting Apache to recognize network drive.
a) Latest apache version available is 2.2.14 but apache does not start as a service, and if we start apache from command prompt, network drives are recognized but we use to get blank command windows pop-ups on each click of TPP application running on apache.
Even default version of apache (2.2.8) during TPP installation behaves in the same manner.
b) This post says that it worked until Apache v2.0.32 AND works on a Win2000 server : http://osdir.com/ml/apache.devel/2002-06/msg00180.html
d) When TPP is installed it creates "tmp" folder under root installation directory (default "C:/"), it looks like tpp needs "tmp" folder (though it can be empty) under root directory.
Make sure to make "tmp" directory under new root.
e) I also think that there is no need to copy tpp-bin folder (though I have not tested) under new root, copying only wwwroot should also work.
I will try to configure latest release of Apache (2.2.15) and will send the findings.
My httpd.cnf looks like this (where "B:/" is network mapped drive)
#
# Begin settings for the Trans Proteomic Pipeline
#
# Add 5-hour timeout
Timeout 18000
AddType text/html .shtml
AddHandler server-parsed .shtml
#SetEnv WEBSERVER_ROOT C:/Inetpub/wwwroot
SetEnv WEBSERVER_ROOT B:/Inetpub/wwwroot
SetEnv WEBSERVER_URL http://localhost:81
Alias /tpp-bin "C:/Inetpub/tpp-bin"
<Directory "C:/Inetpub/tpp-bin">
Options Indexes MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AddHandler cgi-script .cgi .pl
ScriptInterpreterSource Registry
PassEnv WEBSERVER_ROOT
</Directory>
Alias /ISB "B:/Inetpub/wwwroot/ISB"
Alias /isb "B:/Inetpub/wwwroot/ISB"
<Directory "B:/Inetpub/wwwroot/ISB">
Options Indexes MultiViews Includes
AllowOverride None
Order allow,deny
Allow from all
AddType text/html .shtml
AddHandler server-parsed .shtml
PassEnv WEBSERVER_ROOT
</Directory>