You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "P. Dwayne Miller" <dm...@espgroup.net> on 2003/05/27 17:50:56 UTC
Re: [users@httpd] apache on windows!!
This won't be complete since I don't remember all of the steps, but it
should get you closer. Problem is that Apache running as a services on
Windows does not have access to any shared drives you have mapped. The
default windows service account is 'System' or 'LocalSystem', neither of
which have access to network resources.
So you must:
Create a new account on your Windows2K server... something like ApacheUser
In your service controller window, change the default account that the
Apache service runs as to the newly created user.
You must reference the path in your httpd.conf file using URI syntax, so
instead of D:\public_html, you would need something like
//linux-server/sharename/public_html
Using this syntax, the windows server will create a mapping dynamically
for that process (I believe this statement is correct).
Your Windows account must have permission to map to and access the
remote directory on your Linux server.
Remember to grant the new user access to other appropriate local
directories too, or the service will not start.
Dwayne
Webadmin wrote:
>Hi All;
>I'm working on an Apache backup server the primary one is running apache/linux
>while the backup one is having M$ windows 2000 server, I've installed Apache
>on the windows server 1.27 and installed samba on the linux server and mapped
>the html folder "which is on the linux" to D: on the windows one, I'm trying
>to test it by creating an Alias which is pointing to my D:/public_html but
>when I try to browse it I get the Forbidden msg on the browser.
>can anyone help me here pls? is this related to the mounted drive D: which is
>a network drive or what???
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org