Προς το περιεχόμενο

HELP: Apache kai network folders


Wishm@ster

Προτεινόμενες αναρτήσεις

Δημοσ.

paidia sorry pou to message einai sta agglika alla to exw kanei post kai se alla forums psaxnontas kapoia boh8eia..

 

After setting a remote folder as a network drive i came through a few other posts explaining why apache2 cannot access networks with its defaul config.

 

I made a new limited user account (mysql as well) and followed through the following steps as described in the apache2 with WinXP documentation:

 

1. Create a normal domain user account, and be sure to memorize its password.

2. Grant the newly-created user a privilege of Log on as a service and Act as part of the operating system. On Windows NT 4.0 these privileges are granted via User Manager for Domains, but on Windows 2000 and XP you probably want to use Group Policy for propagating these settings. You can also manually set these via the Local Security Policy MMC snap-in.

 

 

The problem is that i do not understand what i have to do next.

 

3 Confirm that the created account is a member of the Users group.

edit: I found this can be done by opening administrative tool->computer management /edit

4 Grant the account read and execute (RX) rights to all document and script folders (htdocs and cgi-bin for example).

5 Grant the account change (RWXD) rights to the Apache logs directory.

6 Grant the account read and execute (RX) rights to the Apache.exe binary executable

 

 

update:

Ok found out finally what those ment. I actually had to set the security settings for the new user in the folders described above. Not quite straight forward but at least now apache runs.

 

All i have to do now is figure out how to setup the httpd.conf to be able to access the network drive.

 

edit: what i am trying to do is put this in the conf:

Alias /wish "Z:\"

 

<Directory "Z:\">

Options Indexes MultiViews

AllowOverride None

Order allow,deny

Allow from all

</Directory>

 

however when i do that apache refuses to start. any ideas?

 

ok now i have another problem

 

The PC that i want to have a network drive on has set everyone as read and execute and hence i should not have any trouble at all. however event viewer gives me the error as:

The Apache service named reported the following error:

>>> <Directory "Z:\\wish"> path is invalid. .

 

or

 

The Apache service named reported the following error:

>>> <Directory "Z:/wish"> path is invalid. .

for Alias /wish "Z:/wish"

 

i kinda dont know what do to next. Any1 any help?

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...