Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi All, I am using Apache 1.3 on

Status
Not open for further replies.

JJ1

Programmer
Apr 19, 2001
104
GB
Hi All,

I am using Apache 1.3 on Windows and have just successfully installed PHP 4.

I'm trying to get a PHP based Forum working (called S8Forum), and have created a subdirectory within DocumentRoot called "forum". This contains files such as index.php etc..

At the moment, the forum fires up, but with a few error messages, relating to file permissions.

The instructions for forum installation ask me to:

" CHMOD the ~/data directory and the ~/users directory
and the ~/sigs directory to 777 "

What does this mean? How can I do CHMOD in Apache on Windows?

I think what I need to do is ensure Apache can write to these directories (data, users, sigs) but I don't understand the step above. I have tried typing "chmod /?" in the command prompt, but without success.

Could anyone advise me on what I need to do to setup suitable access permissions for this forum? Is the 'execute' permission required?

Any help would be much appreciated.
Thanks,


James.
 
Apologies for uninformative SUBJECT on this one. I put "File permissions on Apache" but it somehow got removed.
 
Hi,

Chmod is a unix/linux command to change the access permissions on a file, directory, etc. There are three sets of permissions - owner, group, other. The permissions are rwx (read write exec) and have values of 4, 2, 1 . So a '7' means all permissions (read/write/exec) and 777 means that for owner, group members, and everyone else.

On win32 it effectively means allow universal read / write /execute access.

The '~' (tilde) character means a unix/linux user's home directory and is equivalent to the environment variable $HOME . However, in this case I suspect it just refers to subdirectories relative to the 'forum' directory.

Hope this helps
 
Thanks ifincham,

Knowing about CHMOD is really helpful. You were right about Read/Write/Execute being needed for the "data", "users"and "sigs" sub directories of "forum".

The only problem I now have is how to set these permissions on the Win32 version of Apache (sorry, I'm a newbie to Apache, but i'm finding it much better than IIS was!)

Is it a line within the <directory> tags?

Please could you let me know how to set file permisssions under Apache 3.1 for Win32?

Thanks in advance,

James.

 
Hi,

Its nothing to do with apache itself. The file permissions are given by the operating system. For windows you just right click on the folder from explorer then select properties, the 'security' tab, then within that 'permissions' (you probably want to set 'full control' ). Thats for NT4 - W2K or XP may be slightly different.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top