[olug] HTTPD vhosts

Dave Rowe dave at roweware.com
Tue Jan 1 20:53:53 UTC 2013


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
>



More information about the OLUG mailing list