[olug] HTTPD vhosts

Sam Flint harmonicnm7h at gmail.com
Tue Jan 1 22:16:38 UTC 2013


apache, yes, but i have tried that...userdirs aren't even set up yet


On Tue, Jan 1, 2013 at 3:38 PM, Dave Rowe <dave at roweware.com> wrote:

> What user is running Apache?  'apache'? 'www-data'?  'root'?
>
> That user needs read (and possibly execute on parent directories) of
> anything you're trying to expose.  I believe that applies to userdirs as
> well.
>
> -Dave
>  On Jan 1, 2013 3:32 PM, "Sam Flint" <harmonicnm7h at gmail.com> wrote:
>
> > the user does, so i don't think that's it, and what about userdirs?
> >
> >
> > On Tue, Jan 1, 2013 at 2:53 PM, Dave Rowe <dave at roweware.com> wrote:
> >
> > > Check the Apache error log, but I don't think you'll get a 403 on a
> > system
> > > file.
> > >
> > > Then check permissions on the document roots you have defined.  If the
> > > docroot is in a sub directory, ensure the Apache user (or whoever runs
> > > Apache) has read access on the parent directories.
> > > On Jan 1, 2013 2:44 PM, "Sam Flint" <harmonicnm7h at gmail.com> wrote:
> > >
> > > > didn't work
> > > >
> > > >
> > > > On Mon, Dec 31, 2012 at 6:07 PM, Lou Duchez <lou at paprikash.com>
> wrote:
> > > >
> > > > > That's good, it means your permissions are off.  Try this:
> > > > >
> > > > > chown root:root /etc/mime.types
> > > > > chmod a+r /etc/mime.types
> > > > >
> > > > >
> > > > >  nowi get a 403 forbidden error
> > > > >>
> > > > >>
> > > > >> On Mon, Dec 31, 2012 at 3:33 PM, Lou Duchez <lou at paprikash.com>
> > > wrote:
> > > > >>
> > > > >>  Here's my /etc/mime.types:
> > > > >>>
> > > > >>> http://www.paprikash.com/mime.****types<
> > > > http://www.paprikash.com/mime.**types>
> > > > >>> <http://www.paprikash.**com/mime.types<
> > > > http://www.paprikash.com/mime.types>
> > > > >>> >
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>   it failed entirenly, no error to the console, but looks like i
> > > need a
> > > > >>>
> > > > >>>> non-existent mime.types file, could i get a copy of someones?
> > > > >>>>
> > > > >>>>
> > > > >>>> On Mon, Dec 31, 2012 at 12:33 PM, Christopher Cashell
> > > > >>>> <topher-olug at zyp.org>wrote:
> > > > >>>>
> > > > >>>>   On Mon, Dec 31, 2012 at 12:23 PM, Dave Rowe <
> dave at roweware.com>
> > > > >>>> wrote:
> > > > >>>>
> > > > >>>>> Do you have entries in your /etc/hosts file for each of those
> > > > >>>>>>
> > > > >>>>>>  'ServerName'
> > > > >>>>>
> > > > >>>>>  entries?  You can map them to 127.0.0.1 in /etc/hosts, since
> it
> > is
> > > > >>>>>> local
> > > > >>>>>>
> > > > >>>>>>  to
> > > > >>>>>
> > > > >>>>>  your machine.
> > > > >>>>>>
> > > > >>>>>>  Not just the ServerName entries, but also make sure the
> locally
> > > > >>>>> assigned hostname can be looked up.  Can you show us the output
> > of
> > > > the
> > > > >>>>> following commands?
> > > > >>>>>
> > > > >>>>> hostname
> > > > >>>>> domainname
> > > > >>>>> host hopper.flintfam.org
> > > > >>>>> ping -c1 hopper.flintfam.org
> > > > >>>>> grep -i hopper.flintfam.org /etc/hosts
> > > > >>>>>
> > > > >>>>>   -Dave
> > > > >>>>> --
> > > > >>>>> Christopher
> > > > >>>>> ______________________________****_________________
> > > > >>>>> OLUG mailing list
> > > > >>>>> OLUG at olug.org
> > > > >>>>> https://lists.olug.org/****mailman/listinfo/olug<
> > > > https://lists.olug.org/**mailman/listinfo/olug>
> > > > >>>>> <https://**lists.olug.org/mailman/**listinfo/olug<
> > > > https://lists.olug.org/mailman/listinfo/olug>
> > > > >>>>> >
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>  ______________________________****_________________
> > > > >>> OLUG mailing list
> > > > >>> OLUG at olug.org
> > > > >>> https://lists.olug.org/****mailman/listinfo/olug<
> > > > https://lists.olug.org/**mailman/listinfo/olug>
> > > > >>> <https://**lists.olug.org/mailman/**listinfo/olug<
> > > > https://lists.olug.org/mailman/listinfo/olug>
> > > > >>> >
> > > > >>>
> > > > >>>
> > > > >>
> > > > >>
> > > > > ______________________________**_________________
> > > > > OLUG mailing list
> > > > > OLUG at olug.org
> > > > > https://lists.olug.org/**mailman/listinfo/olug<
> > > > https://lists.olug.org/mailman/listinfo/olug>
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Sam Flint
> > > > flintfam.org/~swflint
> > > > _______________________________________________
> > > > OLUG mailing list
> > > > OLUG at olug.org
> > > > https://lists.olug.org/mailman/listinfo/olug
> > > >
> > > _______________________________________________
> > > OLUG mailing list
> > > OLUG at olug.org
> > > https://lists.olug.org/mailman/listinfo/olug
> > >
> >
> >
> >
> > --
> > Sam Flint
> > flintfam.org/~swflint
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > https://lists.olug.org/mailman/listinfo/olug
> >
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>



-- 
Sam Flint
flintfam.org/~swflint



More information about the OLUG mailing list