| Forum |
|
|||||||
| Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) | |
|
Wise Old Owl
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
|
Both xoops and Joomla is giving an Error 403 while trying to access using my browser. I'ce set file permissions correct. Is there anything i forgot ? Both are working (the same uploaded) perfectly on my hosting server. I'm managing a few sites locally, they are woking too. This is the error, for referance. Quote:
|
|
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#3 (permalink) |
|
FooBar Guy
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
|
Code:
Alias /xoops "/usr/share/xoops/"
<Directory "/use/share/xoops/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
__________________
- -- http://www.MovieAB.com - A tiny movie mashup! |
|
|
|
|
#4 (permalink) |
|
Wise Old Owl
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
|
I was wondering why GNURag is not answering me. Well, thanks.
I tried that one already, but still giving the same 403.
__________________
Sometime you'll think you understand everything ...Then you'll regain consciousness |
|
|
|
|
#5 (permalink) |
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,453
|
Well now I have known how to configure a webserver and aliases after extreme difficulties...It seems u have not set the permissions correct...Try to set the permission of the whole path of "/xoops" with 755 and files in that too!
If u have created another username like "/home/user"..tjhen u need to do "chmod 755 /home/user"!
__________________
Bad Bad server.....No candy for u! |
|
|
|
|
#7 (permalink) |
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,453
|
Tell me everythin how u tried to access it and on what port and n what ip (locally->127.0.0.1)? I think i can help ya! Have u tried the defaults?
__________________
Bad Bad server.....No candy for u! |
|
|
|
|
#8 (permalink) |
|
Wise Old Owl
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
|
I've setup Apache (really long time ago, no problems yet). I usually store my local websites on /var/www/html/ (Which, ofcourse is apache DirectoryIndex). Everything was working fine. So i tried to install Joomla on my PC, so that after customising all the stuff, i can upload it to my website.
i place it on /var/www/html/Joomla, and tried it accessing by pointing my browser to http://localhost/Joomla , which gave me a Error 403. So i checked for file permissions, and found everything was 755. I run an additional chmod -R 755 Joomla/ But still the problem persits. Then i tried moving the directory to inside one of my working folder, bitz. http://localhost/bitz is working, but http://localhost/bitz/Joomla is not. Some three days back I downloaded xoops, followed the same procedure, and got the same error. Both Joomla and xoops are working remotely, when uploaded to my site.
__________________
Sometime you'll think you understand everything ...Then you'll regain consciousness |
|
|
|
|
#9 (permalink) |
|
Wise Old Owl
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
|
Problem Solved!!!
It was an issue with SELinux. Just run the following as root Code:
chcon -R -t httpd_sys_content_t /var/www/html/
__________________
Sometime you'll think you understand everything ...Then you'll regain consciousness |
|
|
|
|
#10 (permalink) |
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,513
|
So SELINUX restrictions and values should be known before configuring any network services controlled by selinux..
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You Get GNU/Linux - http://getgnulinux.org |
|
|
|
|
#11 (permalink) | |
|
Wise Old Owl
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
|
Quote:
__________________
Sometime you'll think you understand everything ...Then you'll regain consciousness |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|