运行带有 WAMP 的 WinXP SP3 的 VPC:网络驱动器出现 403 错误

运行带有 WAMP 的 WinXP SP3 的 VPC:网络驱动器出现 403 错误

好的,我有运行 VPC 的 Win7 Ultimate 64 位。VPC 运行的是带有 WAMP 的 WinXP Pro SP3。

我在用着:

  1. “集成功能”通过网络安装我的 Win7 驱动器。
  2. 我的服务器使用 WAMP(是的,作为管理员)
  3. 两个 VPC 上的 IE6 和 IE8(一共有两个)
  4. 就是这样!

当我创建一个别名来指向网络驱动器时它可以工作,但是当我尝试使用该别名时出现 403 错误。

别名

Alias /chemdry/ "\\tsclient\C\public_html\chemdry/" 

<Directory "\\tsclient\C\public_html\chemdry/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order allow,deny
    Allow from all
</Directory>

有什么想法吗?我正在我的开发机器上构建浏览器测试环境。

日志

[Thu Oct 28 01:32:36 2010] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Thu Oct 28 01:32:36 2010] [notice] Server built: Dec 10 2008 00:10:06
[Thu Oct 28 01:32:36 2010] [notice] Parent: Created child process 3652
[Thu Oct 28 01:32:37 2010] [notice] Child 3652: Child process is running
[Thu Oct 28 01:32:37 2010] [notice] Child 3652: Acquired the start mutex.
[Thu Oct 28 01:32:37 2010] [notice] Child 3652: Starting 64 worker threads.
[Thu Oct 28 01:32:37 2010] [notice] Child 3652: Starting thread to listen on port 80.
[Thu Oct 28 01:39:55 2010] [warn] pid file C:/wamp/bin/apache/Apache2.2.11/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Oct 28 01:39:55 2010] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Thu Oct 28 01:39:55 2010] [notice] Server built: Dec 10 2008 00:10:06
[Thu Oct 28 01:39:55 2010] [notice] Parent: Created child process 2564
[Thu Oct 28 01:39:56 2010] [notice] Child 2564: Child process is running
[Thu Oct 28 01:39:56 2010] [notice] Child 2564: Acquired the start mutex.
[Thu Oct 28 01:39:56 2010] [notice] Child 2564: Starting 64 worker threads.
[Thu Oct 28 01:39:56 2010] [notice] Child 2564: Starting thread to listen on port 80.
[Thu Oct 28 01:39:59 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Oct 28 01:39:59 2010] [notice] Child 2564: Exit event signaled. Child process is ending.
[Thu Oct 28 01:40:00 2010] [notice] Child 2564: Released the start mutex
[Thu Oct 28 01:40:01 2010] [notice] Child 2564: All worker threads have exited.
[Thu Oct 28 01:40:01 2010] [notice] Child 2564: Child process is exiting
[Thu Oct 28 01:40:01 2010] [notice] Parent: Child process exited successfully.
[Thu Oct 28 01:41:29 2010] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Thu Oct 28 01:41:29 2010] [notice] Server built: Dec 10 2008 00:10:06
[Thu Oct 28 01:41:29 2010] [notice] Parent: Created child process 2988
[Thu Oct 28 01:41:30 2010] [notice] Child 2988: Child process is running
[Thu Oct 28 01:41:30 2010] [notice] Child 2988: Acquired the start mutex.
[Thu Oct 28 01:41:30 2010] [notice] Child 2988: Starting 64 worker threads.
[Thu Oct 28 01:41:30 2010] [notice] Child 2988: Starting thread to listen on port 80.
[Thu Oct 28 01:43:48 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Oct 28 01:43:48 2010] [notice] Child 2988: Exit event signaled. Child process is ending.
[Thu Oct 28 01:43:49 2010] [notice] Child 2988: Released the start mutex
[Thu Oct 28 01:43:50 2010] [notice] Child 2988: All worker threads have exited.
[Thu Oct 28 01:43:51 2010] [notice] Child 2988: Child process is exiting
[Thu Oct 28 01:43:51 2010] [notice] Parent: Child process exited successfully.
[Thu Oct 28 01:43:51 2010] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Thu Oct 28 01:43:51 2010] [notice] Server built: Dec 10 2008 00:10:06
[Thu Oct 28 01:43:51 2010] [notice] Parent: Created child process 3500
[Thu Oct 28 01:43:52 2010] [notice] Child 3500: Child process is running
[Thu Oct 28 01:43:52 2010] [notice] Child 3500: Acquired the start mutex.
[Thu Oct 28 01:43:52 2010] [notice] Child 3500: Starting 64 worker threads.
[Thu Oct 28 01:43:52 2010] [notice] Child 3500: Starting thread to listen on port 80.
[Thu Oct 28 01:44:10 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/chemdry
[Thu Oct 28 01:45:03 2010] [error] [client 127.0.0.1] client denied by server configuration: C:/tsclient
[Thu Oct 28 01:45:15 2010] [error] [client 127.0.0.1] client denied by server configuration: C:/tsclient
[Thu Oct 28 01:45:45 2010] [error] [client 127.0.0.1] client denied by server configuration: C:/tsclient, referer: http://localhost/
[Thu Oct 28 01:53:11 2010] [error] [client 127.0.0.1] client denied by server configuration: C:/tsclient, referer: http://localhost/
[Thu Oct 28 01:57:42 2010] [error] [client 127.0.0.1] client denied by server configuration: C:/tsclient
[Thu Oct 28 01:58:59 2010] [error] [client 127.0.0.1] client denied by server configuration: C:/tsclient

链接

http://blog.mattwoodward.com/accessing-a-network-drive-from-apache-and-tom http://httpd.apache.org/docs/1.3/win_service.html-(请参阅 Apache 服务的用户帐户)

更新

  1. 我已将服务的“登录帐户”从“本地”更改为 .\Kevin(这是一个管理员帐户

答案1

通过另一个问题发现我需要什么:

如何在 XP pro 上为 apache 设置“服务帐户”?

而且,我还决定使用虚拟主机,而不是加载别名,效果很好:D

相关内容