oh yeah, not sure if this matters, but I've also put my virtual
directories higher than /var/www/html:
/var/www/monkeynoodle/html, cgi-bin, &c
/var/www/baydoula/html, cgi-bin, &c

On Sat, 2003-09-20 at 10:04, Jack Coates wrote:
> On Sat, 2003-09-20 at 03:52, James wrote:
> > Thanks for you suggestion, Jack, but I'm still having problems.
> > 
> > I tried changing things to mimick your setup, but this broke my server
> > altogether.  I might have done something wrong.  I;ve gone back to my
> 
> Try service httpd configtest to see what's wrong, could be a simple
> typo.
> 
> > previous setup and now my virtuals work fine, but my default server
> > still can't be viewed.  Here is my current setup, maybe you can see
> > something wrong and suggest a change (by the time you get this email, I
> > will probably have switched over to the working server)  vivid-eye.com is
> > my default server, powwowdance.com is an example of one of my virtuals:
> > 
> > -----------------------------------------
> > etc/httpd/conf/vhosts/Vhosts.conf:
> > 
> > NameVirtualHost 63.224.195.57
> > 
> 
> make that NameVirtualHost *
> 
> > <VirtualHost 63.224.195.57>
> <VirtualHost *>
> > ServerAdmin [EMAIL PROTECTED]
> > DocumentRoot "/var/www/html/vivid-eye/public_html"
> > ServerName www.vivid-eye.com
> Set up a Directory stanza here
> Options whatever
> Order allow,deny
> Allow from all
> > </VirtualHost>
> > 
> > <VirtualHost 63.224.195.57>
> <VirtualHost *>
> > DocumentRoot "/var/www/html/powwowdance/public_html"
> > ServerNamewww.powwowdance.com
> Set up a Directory stanza here, same as above
> > </VirtualHost>
> > 
> > ------------------------------------------
> > 
> > etc/httpd/conf/httpd2.conf
> > 
> > <VirtualHost *>
> > DocumentRoot /var/www/html/vivid-eye/public_html
> > ServerName www.vivid-eye.com
> > </VirtualHost>
> > 
> > <VirtualHost *>
> > DocumentRoot /var/www/html/powwowdance/public_html
> > ServerName www.powwowdance.com
> > </VirtualHost>
> > -----------------------------------------
> 
> don't repeat the same stuff -- httpd2.conf already calls Vhost.conf, so
> don't modify httpd2.conf at all unless you want to mess with low level
> stuff like mime types and gzip.
> 
> > 
> > The powwowdance.com can be seen just fine, but I can't view vivid-eye.com..
> > and when I do try to view it, I get garbled text that looks like
> > this:
> > http://www.vivid-eye.com/james/garbled.jpg
> 
> wow, cool :-) Smells like language encoding problems, you haven't been
> messing with UTF-8 type stuff have you? 
> 
> > 
> > When I tried to duplicate the first part of your example, I couldn't
> > access ANY virtuals at all.Thanks for any suggestions.
> > 
> > james
> > 
> > 
> > You wrote:
> > 
> > You have to set up a vhost for every name you expect to serve. Once
> > that's done you can ignore /var/www/html because it'll never be seen.
> > http://IPaddress will go to the first defined vhost (monkeynoodle.org in
> > my case, which is why it has the rewrite statement).
> > 
> > 
> > NameVirtualHost *
> > 
> > 
> > <VirtualHost *>
> >     ServerAdmin [EMAIL PROTECTED]
> >     DocumentRoot /var/www/monkeynoodle
> >     ServerName www.monkeynoodle.org
> >         ServerAlias monkeynoodle.org www.monkeynoodle.org
> > felix.monkeynoodle.org
> >         CustomLog logs/monkeynoodle-log combined
> >         ServerSignature Email
> >         <Directory "/var/www/monkeynoodle">
> > ...
> >    <IfModule mod_rewrite.c>
> >         RewriteEngine on
> >         RewriteLog "/var/log/httpd/monkeynoodle-rewrite_log"
> >         RewriteLogLevel 1
> >         # Send the worms back home
> >         RewriteRule ^.*\.(exe|ida|dll).* http://127.0.0.1/$1
> >     </IfModule>
> >     <IfModule mod_proxy.c>
> >         # Zope-related statements
> >         ProxyPass / http://192.168.1.1:9673/mn/
> >         ProxyPassReverse / http://192.168.1.1:9673/mn/
> >         ProxyPass /misc_ http://192.168.1.1:9673/misc_
> >         ProxyPass /p_ http://192.168.1.1:9673/p_
> >     </IfModule>
> > </VirtualHost>
> > ...
> > 
> > 
> > <VirtualHost *>
> >     ServerAdmin [EMAIL PROTECTED]
> >     DocumentRoot /var/www/sierranevadagroup
> >     ServerName www.sierranevadagroup.com
> >     ServerAlias sierranevadagroup.com www.sierranevadagroup.com
> > felix.sierraneva
> > dagroup.com
> >     CustomLog logs/sierranevadagroup-log combined
> >     ServerSignature Email
> >     <Directory "/var/www/sierranevadagroup">
> >         Options Indexes FollowSymLinks MultiViews
> >         AllowOverride None
> >         Order allow,deny
> >         Allow from all
> >     </Directory>
> >     Alias /webalizer/ "/var/www/sierranevadagroup/webalizer/"
> >     <Directory //var/www/sierranevadagroup/webalizer/>
> >         Options Indexes FollowSymLinks MultiViews
> >         AllowOverride None
> >         order deny,allow
> >         deny from all
> >         allow from 127.0.0.1 192.168.1
> >     </Directory>
> >     <IfModule mod_proxy.c>
> >         ProxyPass / http://192.168.1.1:9673/sng/
> >         ProxyPassReverse / http://192.168.1.1:9673/sng/
> >         ProxyPass /misc_ http://192.168.1.1:9673/misc_
> >         ProxyPass /p_ http://192.168.1.1:9673/p_
> >     </IfModule>
> > </VirtualHost>
> > 
> > 
> > 
> > 
> > ______________________________________________________________________
> > 
> > Want to buy your Pack or Services from MandrakeSoft? 
> > Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to