Apache serving files located on another computer in my network

Discussion in 'Apache' started by andrerpbts, Mar 28, 2008.

  1. #1
    Hello!

    I'm trying to configure an apache server working with a shared directory in another computer in my network. The structure is:

    A computer "A" as application server. This server have one application that is used by the users in the network by a desktop program and another application that get this executables of this desktop program and "converts" in html files to use the system in the web.
    A computer "B" running Oracle 10 XE Server, where the Computer "A" connects..
    And a computer "C" as webserver, running apache.

    The problem
    I want the apache on computer "C" uses the shared directory in computer "A", but it's not work...

    The first thing i did, was map the network interface, setting the letter Z to the drive... and in the httpd.conf I just created an Alias and the definitions of this virtual directory...

    
    Alias /teste "Z:/teste/"
    
    <Directory "Z:/teste/">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    
    Code (markup):
    This confimguration crashed Apache and not worth. Then i tried to put the IP, as following:

    
    Alias /teste "\\10.10.11.106\teste/"
    
    <Directory "\\10.10.11.106\teste/">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    
    Code (markup):
    And this time the Apache runs, but accessing the URL http://localhost/teste Apache return an error that don't have permission to access this location and the apache log file have this entry:
    
    [Fri Mar 28 09:55:23 2008] [error] [client 127.0.0.1] client denied by server configuration: C:/10.10.11.106
    
    Code (markup):
    Can't I use Apache serving files from another computer on the same network ?

    Thanks for any help !

    NOTE: All this configurations is under Windows Ambient...
     
    andrerpbts, Mar 28, 2008 IP