Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



CentOS 5.2 and Apache 2.2.3: Getting error message 403

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-05-2011
Member
 
Join Date: Apr 2011
Posts: 63
CentOS 5.2 and Apache 2.2.3: Getting error message 403
  

It is very first thread on this particular forum I am hoping that the users of this particular forum will help me out from the annoying situation which I am going to mentioned below. Well I have installed CentOS 5.2 on the computer of mine and also Apache 2.2.3. whenever I am trying to access any of the webpage I am getting following error message on the computer of mine ‘You don't have permission to access /bb/ on this server.
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.

Reply With Quote
  #2  
Old 04-05-2011
Member
 
Join Date: Nov 2009
Posts: 785
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.
Reply With Quote
  #3  
Old 04-05-2011
Member
 
Join Date: Apr 2009
Posts: 988
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>
If the symlink is redirecting to any other place then you would get the default permission which is Deny from All.
Reply With Quote
  #4  
Old 04-05-2011
Member
 
Join Date: Nov 2009
Posts: 859
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.
Reply With Quote
  #5  
Old 04-05-2011
Member
 
Join Date: Apr 2009
Posts: 1,106
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
Reply With Quote
  #6  
Old 05-05-2011
Member
 
Join Date: Nov 2009
Posts: 1,416
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{,_}
Now you should enable the Virtual Host by using the following command.
Code:
mv -v /etc/httpd/conf.d/example.conf{_,}
after doing the same you should restart the Apache on the computer of yours.
Code:
service httpd graceful
So use the above mentioned instruction and l am sure that it will help you out.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 07:26 AM.