Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Apache Permissions
mdphreak27
post Oct 8 2004, 01:23 PM
Post #1


Grub-er
**

Group: Members
Posts: 33
Joined: 4-October 04
Member No.: 3,896



I'm sure there's a quick fix to my problem.... but I'm trying to make files accessable from my website (using apache as the web server) so I put the files in a sub-folder of the httpd/ folder and when trying to access the folder from the internet it says "you don't have permission to access the folder...." I've used this method before in redhat linux 8 + 9, and in windows xp all using apache. im using mandrake 10.1 now. how do i allow access???
Go to the top of the page
 
+Quote Post
Hemant
post Oct 8 2004, 05:29 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



One quick fix method is...something like this..

create a group(using command...."groupadd") let's say by name "web"

Now apache must have read(and write probably) permissions for that folder..so that these pages can viewed publicly.So add apache to this group and give ownership of that folder to this group "web".(Not apache user.)


After that probably you will need,some user must have access to those folders(obviously the web developer) so add that user also to the same group.And now it should work(I mean that is how i have done things on my computer.)


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post
mdphreak27
post Oct 8 2004, 11:06 PM
Post #3


Grub-er
**

Group: Members
Posts: 33
Joined: 4-October 04
Member No.: 3,896



Ok well i tried adding the user group and adding aphache to that group and the user accessing the folder to that group as well......still nothing....uhm, im kinda lost now
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 01:50 PM