Achim, It looks like you have at least one problem with the following line:
ScriptAlias /tpp/cgi-bin/ "usr/local/apps/tpp/cgi-bin/" More Likely you want: ScriptAlias /tpp/cgi-bin/ "/usr/local/apps/tpp/cgi-bin/" (Note the "/" in front of the directory named usr). As to the warning messages about virtual hosts, I can't help you too much there as I'm not to familiar with how Apache2 is setup on Debian/Ubuntu. What I can say is named virtual hosting allows you to host multiple web sites from a single server, where each web site has a different name but ends up connecting to the same named computer. If you aren't running multiple web servers from the same computer you don't need to have this -- I'm assuming that Debian/Ubuntu have the infrastructure setup to support this in their Apache installation or someone else set it up on your system? You might want to try adding the ServerName directive to see if it makes the warning go away... Additional information available at: http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/ http://httpd.apache.org/docs/2.0/vhosts/name-based.html On Wed, Sep 2, 2009 at 5:59 AM, achimt <[email protected]> wrote: > > Hi Joe, > thanks a lot for the reply. I am posting the apache configuration file > below (I am embarassed to admit that I would not even know what > virtual hosts are...) > > Best wishes, > Achim > > ---------------------- apache2 configuration file ------------------- > ac...@linux01:/etc/apache2/sites-enabled$ cat 000-default > # NameVirtualHost * > <VirtualHost *:80> > ServerAdmin webmas...@localhost > > DocumentRoot /var/www > 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 /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 > ServerSignature On > > Alias /doc/ "/usr/share/doc/" > <Directory "/usr/share/doc/"> > Options Indexes MultiViews FollowSymLinks > AllowOverride None > Order deny,allow > Deny from all > Allow from 127.0.0.0/255.0.0.0 ::1/128 > </Directory> > > # 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 Includes Indexes FollowSymLinks MultiViews > 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> > > <Directory "/usr/local/mascot/cgi/"> > AllowOverride None > Options None > Order allow,deny > Allow from all > </Directory> > ScriptAlias /mascot/cgi/ /usr/local/mascot/cgi/ > > <Directory "/usr/local/mascot/x-cgi/"> > AllowOverride None > Options None > Order allow,deny > Allow from all > </Directory> > ScriptAlias /mascot/x-cgi/ /usr/local/mascot/x-cgi/ > > <Directory "/usr/local/mascot/html/"> > AllowOverride None > Options None > Order allow,deny > Allow from all > </Directory> > Alias /mascot/ /usr/local/mascot/html/ > > <Directory "/var/www/thegpm/tandem/"> > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > </Directory> > Alias /tandem/ "/var/www/thegpm/tandem/" > > <Directory "/var/www/thegpm/cache/"> > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > </Directory> > Alias /cache/ "/var/www/thegpm/cache/" > > <Directory "/var/www/thegpm/gpm/"> > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > </Directory> > Alias /gpm/ "/var/www/thegpm/gpm/" > > <Directory "/var/www/thegpm/pics/"> > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > </Directory> > Alias /pics/ "/var/www/thegpm/pics/" > > <Directory "/var/www/thegpm/thegpm-cgi"> > AllowOverride None > Options None > Order allow,deny > Allow from all > </Directory> > ScriptAlias /thegpm-cgi/ "/var/www/thegpm/thegpm-cgi/" > > > > </VirtualHost> > ----------------------------- end apache2 configuration file > ------------------------- > > On Sep 1, 10:46 pm, Joe Slagel <[email protected]> wrote: > > Achim, > > > > Sounds like there is something off in your Apache configuration file. Do > > you know if you have setup named based virtual hosts? If you could post > your > > apach2.conf file it may help. > > > > -Joe > > > > > > > > On Sat, Aug 29, 2009 at 9:46 AM, achimt <[email protected]> > wrote: > > > > > When I restart apache, I receive the following warning: > > > > > --------------------------------------------- > > > * Restarting web server > > > apache2 [Sat Aug > > > 29 17:41:44 2009] [error] VirtualHost *:80 -- mixing * ports and non-* > > > ports with a NameVirtualHost address is not supported, proceeding with > > > undefined results > > > [Sat Aug 29 17:41:44 2009] [warn] NameVirtualHost *:80 has no > > > VirtualHosts > > > ... waiting [Sat Aug 29 17:41:45 2009] [error] VirtualHost *:80 -- > > > mixing * ports and non-* ports with a NameVirtualHost address is not > > > supported, proceeding with undefined results > > > [Sat Aug 29 17:41:45 2009] [warn] NameVirtualHost *:80 has no > > > VirtualHosts > > > > > [ OK ] > > > --------------------------------------------- > > > Does this point me towards where I am going wrong? > > > Regards, > > > Achim > > > > > On Aug 25, 10:39 pm, Joe Slagel <[email protected]> wrote: > > > > Achim, > > > > > > Did you restart Apache after making your changes to the conf files? > If > > > yes > > > > I'd then look at the Apache access and error log files to see what > > > messages > > > > are there. > > > > > > -Joe > > > > > > On Tue, Aug 25, 2009 at 1:39 PM, achimt <[email protected]> > > > wrote: > > > > > > > Hi Joe, > > > > > > > well spotted - I had not even included the offending file in my > > > > > posting! > > > > > > > I changed the Makefile.config.incl and repeated the build - files > > > > > appear to be now where the webserver configuration file in the > > > > > installation script claims the should be. > > > > > > > However, I am still unable to access the local tpp start page on > > > > > > >http://linux01/tpp/cgi-bin/tpp_gui.pl(linux01<http://linux01/tpp/cgi-bin/tpp_gui.pl%28linux01> > <http://linux01/tpp/cgi-bin/tpp_gui.pl%28linux01>is the hostname) or > > > > >http://localhost/tpp/cgi-bin/tpp_gui.pl > > > > > > > The webserver is running (I have our local Mascot sitting on the > same > > > > > computer and it is working just fine). > > > > > > > -------------------error message:--------------------- > > > > > The requested URL /tpp/cgi-bin/tpp_gui.pl was not found on this > > > > > server. > > > > > Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.2 with Suhosin-Patch > Server > > > > > at linux01 Port 80 > > > > > -------------------------------------------------------------- > > > > > > > Thanks a million again for the help, > > > > > Achim > > > > > > > On Aug 25, 6:32 pm, Joe Slagel <[email protected]> wrote: > > > > > > Hi Achim, > > > > > > > > I've run into something like this a couple of times before. What > > > I've > > > > > found > > > > > > is that when you set the location in your > > > > > > Makefile.config.incl(Makefile.config) its important to have a > > > trailing > > > > > "/" > > > > > > on the TPP_ROOT and TPP_WEB variables.. > > > > > > > > -Joe > > > > > > > > On Tue, Aug 25, 2009 at 3:56 AM, achimt < > [email protected]> > > > > > wrote: > > > > > > > > > Dear all, > > > > > > > > > I am in the process of trying to install TPP 4.3.0 on ubuntu > 9.04. > > > > > > > THanks to the help of Natalie and Joe, I managed to compile > > > everything > > > > > > > correctly (I think :-). However, when I am setting ub things, I > > > come > > > > > > > across the following stumbling block: > > > > > > > > > In the installation script it says (in the section about > > > configuring > > > > > > > apache): > > > > > > > > > ---------------------- from 'install-ubuntu-9_04.sh' > > > > > > > --------------------------- > > > > > > > # 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> > > > > > > > ------------------------ end > ------------------------------------- > > > > > > > > > However, when I look at /usr/local/apps, I see the following > > > > > > > directories: > > > > > > > > > ------------------------ terminal output > -------------------------- > > > > > > > ac...@linux01:/usr/local/apps$ ll > > > > > > > total 24 > > > > > > > drwxr-xr-x 2 root root 4096 2009-08-24 11:13 tpp > > > > > > > drwxr-xr-x 2 root root 4096 2009-08-24 11:13 tppbin > > > > > > > drwxr-xr-x 4 root root 4096 2009-08-24 11:13 tppcgi-bin > > > > > > > drwxr-xr-x 2 root root 4096 2009-08-24 11:13 tppetc > > > > > > > drwxr-xr-x 5 root root 4096 2009-08-24 11:13 tpphtml > > > > > > > drwxr-xr-x 2 root root 4096 2009-08-24 11:13 tppschema > > > > > > > ------------------------ end terminal output > ------------------- > > > > > > > > > Does this indicate that I have done something wrong during the > > > > > > > installation process or that the file structure might have > changed > > > > > > > slightly, without this being reflected in the installation > script? > > > > > > > > > Your help is very much appreciated, > > > > > > > > > Achim > > > > > > > > -- > > > > > > Joe Slagel > > > > > > Institute for Systems Biology > > > > > > [email protected] > > > > > > (206) 732-1362 > > > > > > -- > > > > Joe Slagel > > > > Institute for Systems Biology > > > > [email protected] > > > > (206) 732-1362 > > > > -- > > Joe Slagel > > Institute for Systems Biology > > [email protected] > > (206) 732-1362 > > > > -- Joe Slagel Institute for Systems Biology [email protected] (206) 732-1362 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
