[K12OSN] Apache2 and index.php or index.html
James P. Kinney III
jkinney at localnetsolutions.com
Sun Feb 17 04:01:18 UTC 2008
Look in /etc/selinux. There is a file called config (in redhat style
systems) that you can edit to "disabled" from "enforcing" and then
reboot the machine.
On Fri, 2008-02-15 at 12:44 -0600, Doug Simpson wrote:
> Tell me how to turn off selinux. . . I want to do that anyway!
>
> DS
>
> Doug Simpson
> Technology Specialist
> De Queen Public Schools
> De Queen, AR
> simpsond at leopards.k12.ar.us
> >>> "Henry Hartley" <henryhartley at westat.com> 02/15/08 11:28 AM >>>
> Doug Simpson wrote:
> > On a debian install, apache2, I cannot get it to display index.html
> > or index.php when they are in documentroot. Only when they are in a
> > directory called /var/www/apache2-default.
> >
> > If I have them in /var/www which is the document root, they will not
> > display using http://sitename/ but they will display if you enter
> http://sitename/index.html
> > or index.php.
> >
> > Where can I go look for the setting to fix this?
> >
> > Apache2 is far different from 1 as far as configuration!
>
> Just out of curiosity, if you turn off SELinux does the behavior change?
>
> --
> Henry
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
--
James P. Kinney III
CEO & Director of Engineering
Local Net Solutions,LLC
770-493-8244
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the K12OSN
mailing list