All pastes #475353 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-07 11:57 UTC
rendered paste body
Message when starting apache:
-----------------------------
-----------------------------


:/etc/apache2/sites-available# /etc/init.d/apache2 force-reload
Forcing reload of web server: Apache2
[Mon May 07 13:32:55 2007] [warn] NameVirtualHost 87.230.20.205:80 has no VirtualHosts
[Mon May 07 13:32:55 2007] [warn] NameVirtualHost 87.230.20.205:443 has no VirtualHosts
[Mon May 07 13:32:56 2007] [warn] NameVirtualHost 87.230.20.205:80 has no VirtualHosts
[Mon May 07 13:32:56 2007] [warn] NameVirtualHost 87.230.20.205:443 has no VirtualHosts
.










mysite config file
------------------
------------------

NameVirtualHost 87.230.20.205:80



### Default Settings

<VirtualHost 87.230.20.205:80>
  ServerName www.todofixme.com
  ServerAlias todofixme.com
  DocumentRoot /var/www/www.todofixme.com/www/
  TransferLog /var/log/apache2/www.todofixme.com/access.log
  ErrorLog /var/log/apache2/www.todofixme.com/error.log
</VirtualHost>



### Proxy to JBoss

<VirtualHost 87.230.20.205:80>
  ServerName jboss.todofixme.com
  ServerAlias jboss.psbase.com
  ProxyPass / http://localhost:8080/
  ProxyPassReverse / http://localhost:8080/
  TransferLog /var/log/apache2/jboss.todofixme.com/access.log
  ErrorLog /var/log/apache2/jboss.todofixme.com/error.log
</VirtualHost>



### Subversion

<VirtualHost 87.230.20.205:80>
  ServerName svnrep.todofixme.com
  ServerAlias svnrep.psbase.com
  DocumentRoot /var/www/svnrep.todofixme.com/www/
</VirtualHost>



### phpMyAdmin

<VirtualHost 87.230.20.205:80>
  ServerName phpmyadmin.todofixme.com
  Redirect permanent / https://phpmyadmin.todofixme.com
</VirtualHost>



### gallery

<VirtualHost 87.230.20.205:80>
  ServerName gallery.todofixme.com
  ServerAlias gallery.psbase.com
  DocumentRoot /var/www/gallery.todofixme.com/www/
  TransferLog /var/log/apache2/gallery.todofixme.com/access.log
  ErrorLog /var/log/apache2/gallery.todofixme.com/error.log 
</VirtualHost>







NameVirtualHost 87.230.20.205:443



### Default Settings

<VirtualHost 87.230.20.205:443>
  Include ssl/sslsetup
  ServerName www.todofixme.com
  ServerAlias todofixme.com
  DocumentRoot /var/www/www.todofixme.com/www/
  TransferLog /var/log/apache2/www.todofixme.com/access.log
  ErrorLog /var/log/apache2/www.todofixme.com/error.log
</VirtualHost>



### Proxy to JBoss

<VirtualHost 87.230.20.205:443>
  Include ssl/sslsetup
  ServerName jboss.todofixme.com
  ServerAlias jboss.psbase.com
  ProxyPass / http://localhost:8080/
  ProxyPassReverse / http://localhost:8080/
  TransferLog /var/log/apache2/jboss.todofixme.com/access.log
  ErrorLog /var/log/apache2/jboss.todofixme.com/error.log
</VirtualHost>



### WebDav

<VirtualHost 87.230.20.205:443>
  Include ssl/sslsetup
  ServerName webdav.todofixme.com
  ServerAlias dav.todofixme.com webdav.psbase.com dav.psbase.com
  DocumentRoot /var/lib/dav/
  TransferLog /var/log/apache2/webdav.todofixme.com/access.log
  ErrorLog /var/log/apache2/webdav.todofixme.com/error.log
  <Directory "/var/lib/dav">
    Dav On
    Order allow,deny
    Allow from all
    AuthName "//TODO FIXME// DAV-Share"
    AuthType Basic
    AuthUserFile "dav.passwd"
    <LimitExcept GET HEAD OPTIONS>
      require valid-user
    </LimitExcept>
  </Directory>
</VirtualHost>



### Subversion

<VirtualHost 87.230.20.205:443>
  Include ssl/sslsetup
  ServerName svnrep.todofixme.com
  ServerAlias svnrep.psbase.com
  DocumentRoot /var/www/svnrep.todofixme.com/www/
</VirtualHost>



### phpMyAdmin

<VirtualHost 87.230.20.205:443>
  Include ssl/sslsetup
  ServerName phpmyadmin.todofixme.com
  DocumentRoot /var/www/phpmyadmin.todofixme.com/www/
</VirtualHost>



### gallery

<VirtualHost 87.230.20.205:443>
  Include ssl/sslsetup
  ServerName gallery.todofixme.com
  ServerAlias gallery.psbase.com
  DocumentRoot /var/www/gallery.todofixme.com/www/
  TransferLog /var/log/apache2/gallery.todofixme.com/access.log
  ErrorLog /var/log/apache2/gallery.todofixme.com/error.log
</VirtualHost>