|
| ||||||||||
| Tags: apache, centos, error message, linux, selinux |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| CentOS 5.2 and Apache 2.2.3: Getting error message 403
Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80’. I am not having idea regarding the fixing of this particular error message. Any help on this particular matter would be highly appreciated. Thanks a lot in advance. |
|
#2
| |||
| |||
| Re: CentOS 5.2 and Apache 2.2.3: Getting error message 403
I am having some specific question which would be helpful to figure out the root cause of the problem. Do you have done any hardware or software changes on the computer of yours? Do you have enabled SELinux? If your answer is yes then tell me do you have setup the selinux contexts on the files which you are attempting to access correctly? Let me know the answers of the above mentioned question as early as possible. |
|
#3
| |||
| |||
| Re: CentOS 5.2 and Apache 2.2.3: Getting error message 403
You need to look into the /etc/httpd/conf and have look on the default settings it would like as below mentioned. Code: <Directory "/var/www/html"> Order deny,allow Allow from all </Directory> |
|
#4
| |||
| |||
| Re: CentOS 5.2 and Apache 2.2.3: Getting error message 403
Looking at the situation which you have mentioned over here I am suggesting couple of thing which you should perform and see whether you are able to resolve the issue or not. First of all you should see and verified the directories and make sure that it is having permission 755. If 775 file permission is not working then you should go for 777 and see whether there is any difference in the situation. Also you should see that the default directory is correct and it should be /var/www/html. |
|
#5
| ||||
| ||||
| Re: CentOS 5.2 and Apache 2.2.3: Getting error message 403
I recommend that you need to update the Apache Configuration. I am assuming that the Apache Configuration is seems to be distributed and you need to simply add the lien at the end of the file. It should be included into the file conf replicates the module configuration file. You should use the below mentioned command to get the same. Code: echo "Include vhost.d/*.conf" >>/etc/httpd/conf/httpd.conf |
|
#6
| ||||
| ||||
| Re: CentOS 5.2 and Apache 2.2.3: Getting error message 403
I am suggesting following work around which would be useful to get the requirement of yours. You should Disable the Virtual Host by using the following command. Code: mv -v /etc/httpd/conf.d/example.conf{,_} Code: mv -v /etc/httpd/conf.d/example.conf{_,} Code: service httpd graceful |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "CentOS 5.2 and Apache 2.2.3: Getting error message 403" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error message while login into VSFTPD on CentOS 5.5 | fanish-war | Operating Systems | 5 | 07-05-2011 12:13 PM |
| Getting error message while installing emacs using yum on CentOS 5.5 | Delightful. | Operating Systems | 5 | 04-05-2011 10:53 AM |
| Getting Error message ‘Northbridge Error, node 2<0>K8 ECC error.’ in CentOS 5.5 | Pawna | Operating Systems | 5 | 04-05-2011 10:50 AM |
| Error message While Installing CentOS | Obessed | Operating Systems | 5 | 11-11-2010 10:29 PM |
| How to enable Centos Apache Installation | Frenzy | Networking & Security | 3 | 06-07-2009 03:25 PM |