LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache 2.0.47 "Forbidden You don't have permission to access / on this server" (https://www.linuxquestions.org/questions/linux-server-73/apache-2-0-47-forbidden-you-dont-have-permission-to-access-on-this-server-565973/)

wanna13e 07-24-2007 11:24 PM

Quote:

Originally Posted by emi_ramo
I don't know what SELinux is for. Are you still having the Permission Denied error? I have solved my webserver for several websites with several domains and subdomains and ports (secure, insecure and others). I've been working hard lastly. This is why I've not answered to you.... Sorry!!

No problem. Please look at the file in /etc/sysconfig/selinux.

If your problem can't be sloved, maybe you should start a new thread.

Below is my SELINUX status.

more /etc/sysconfig/selinux to check selinux status.

wanna13e 07-25-2007 05:20 AM

Quote:

Originally Posted by emi_ramo
I don't know what SELinux is for. Are you still having the Permission Denied error? I have solved my webserver for several websites with several domains and subdomains and ports (secure, insecure and others). I've been working hard lastly. This is why I've not answered to you.... Sorry!!

Hi emi_ramo,

What's yr distribution of linux?

Look for a file call selinux located in /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

Plse open a new thread to allow more people to see your problem.

emi_ramo 07-25-2007 06:02 AM

Hi there.
My distro is Debian Lenny (testing). It dos not have the same structure than your, but I found what you said. This is the content of my /etc/selinux/config:
Code:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=permissive
# SELINUXTYPE= can take one of these two values:
# refpolicy-targeted - Only targeted network daemons are protected.
# refpolicy-strict  - Full SELinux protection.
# refpolicy-src      - Custom policy built from source
SELINUXTYPE=refpolicy-targeted

# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0

Tell me, please, what is SELinux for? I just let it as it came from the distro.

wanna13e 07-28-2007 02:03 AM

Quote:

Originally Posted by emi_ramo
I don't know what SELinux is for. Are you still having the Permission Denied error? I have solved my webserver for several websites with several domains and subdomains and ports (secure, insecure and others). I've been working hard lastly. This is why I've not answered to you.... Sorry!!


Hi emi_ramo,

Yes. I'm still encountering the same permission error here. Can let me know if you have any solutions?

Thanks alot in advance.


All times are GMT -5. The time now is 08:12 PM.