Need help setting up Virtual hosts...continued

Need help setting up Virtual hosts...continued

Post by David Gardne » Mon, 29 Mar 1999 04:00:00



My apologies for not finishing the previous note, KIDS!

Anyway, when I try to access the www.gardner.org site, I see the Apache
documents as I expect. However, if I try to access the david.gardner.org
page, I get the message

Forbidden

You don't have permission to access / on this server.

Any thoughts?

 
 
 

Need help setting up Virtual hosts...continued

Post by Miguel Cr » Tue, 30 Mar 1999 04:00:00



Quote:> Anyway, when I try to access the www.gardner.org site, I see the Apache
> documents as I expect. However, if I try to access the david.gardner.org
> page, I get the message

> Forbidden

> You don't have permission to access / on this server.

Oops, I didn't see this. Well, in that case you want to check to make sure
that the user Apache is running as can actually access the directory and
files in question. It's probably 'nobody' which more or less means you need
world-read.

miguel

 
 
 

Need help setting up Virtual hosts...continued

Post by David Efflan » Tue, 30 Mar 1999 04:00:00



>My apologies for not finishing the previous note, KIDS!

>Anyway, when I try to access the www.gardner.org site, I see the Apache
>documents as I expect. However, if I try to access the david.gardner.org
>page, I get the message

>Forbidden

>You don't have permission to access / on this server.

>Any thoughts?

Make sure that 'david' and 'web' have at least 755 permission.  If you are
using RedHat, you may find that 'david' has 700 permission in which case
'nobody' cannot find 'web'.  Otherwise maybe you need to specifically set
up access to /home/david/web because the default user web directory is
'public_html'.

--

http://www.xnet.com/~efflandt/

 
 
 

Need help setting up Virtual hosts...continued

Post by David Gardne » Tue, 30 Mar 1999 04:00:00


Thanks to the many suggestions for the help. The "winner" was the following.

I discovered that there really is a "Apache Server for Dummies" book available from
Amazon.com. I'll RTFM before I take anymore of your time.

Again, I thank you all for the help.



> >My apologies for not finishing the previous note, KIDS!

> >Anyway, when I try to access the www.gardner.org site, I see the Apache
> >documents as I expect. However, if I try to access the david.gardner.org
> >page, I get the message

> >Forbidden

> >You don't have permission to access / on this server.

> >Any thoughts?

> Make sure that 'david' and 'web' have at least 755 permission.  If you are
> using RedHat, you may find that 'david' has 700 permission in which case
> 'nobody' cannot find 'web'.  Otherwise maybe you need to specifically set
> up access to /home/david/web because the default user web directory is
> 'public_html'.

> --

> http://www.xnet.com/~efflandt/

 
 
 

Need help setting up Virtual hosts...continued

Post by No Spa » Fri, 02 Apr 1999 04:00:00


try this:

<Directory />
Options +Indexes MultiViews IncludesNoExec FollowSymLinks
AddHandler server-parsed .shtml
AllowOverride All
</Directory>
</VirtualHost>


>My apologies for not finishing the previous note, KIDS!

>Anyway, when I try to access the www.gardner.org site, I see the Apache
>documents as I expect. However, if I try to access the david.gardner.org
>page, I get the message

>Forbidden

>You don't have permission to access / on this server.

>Any thoughts?

 
 
 

1. Help needed setting up virtual hosts

In my httpd.conf I have:

NameVirtualHost  165.104.70.82

<VirtualHost 165.104.70.82>
        ServerName      basis.ic.ssmhc.com
        ServerAlias     basis
        DocumentRoot    /usr/local/httpd/htdocs
</VirtualHost>

<VirtualHost 165.104.70.82>
        ServerName      poe.ic.ssmhc.com
        ServerAlias     poe
        DocumentRoot    /usr/local/httpd/htdocs/poe
</VirtualHost>

When I got to restart the server I get:

basis:/usr/sbin # ./httpd -S restart
VirtualHost configuration:
165.104.70.82:80       is a NameVirtualHost
    default server basis.ic.ssmhc.com (/etc/httpd/httpd.conf:1336)
    port 80 namevhost basis.ic.ssmhc.com (/etc/httpd/httpd.conf:1336)
    port 80 namevhost poe.ic.ssmhc.com (/etc/httpd/httpd.conf:1342)

But regardless of the URL I put in, either http://basis.ic.ssmhc.com
or http://poe.ic.ssmhc.com

They both show the index page for basis.

Ideas?
Thanks!

2. where is sar command ?

3. need help setting up virtual hosts in redhat

4. GOOD BOOK FOR SOLARIS

5. Need help setting up Virtual hosts

6. gtop shows processes that aren't there?

7. Apache 1.3b2: Default Host and all virtual hosts serve only first virtual hosts pages?

8. Xfree86 Solaris 8 X shutdown problem

9. Does Apache 1.0 still need virtual IP when I set vitual host ???

10. Virtual Hosts problems continue... *sigh*

11. FrontPage virtual hosting, removal or reset of virtual host

12. : How to prevent one named virtual host from "seeing" another virtual hosts files ?

13. Mixing Apache Name Based Virtual Hosts and SSL Virtual Host