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 <[email protected]> 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:_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 [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<spctools-discuss%[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.
