logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Cannot find a way to use a network folder
Author
irookie



Joined: 03 Dec 2010
Posts: 2
Location: Bethesda, MD

PostPosted: Fri 03 Dec '10 1:27    Post subject: Cannot find a way to use a network folder Reply with quote

Hi,

I have my Apache server running in one computer. Here it is:
http://mimo.mine.nu:8088/

I have setup two folders in a different drive (Apache is installed in drive E while these two folders are in drive K) and it works fine. I used the "alias" feature so when I look at http://mimo.mine.nu:8088/nolf the files are located in a folder in drive K and not inside the htdocs subfolder of the installation folder. So, everything works.

Now, I am trying to use the "alias" feature to map not a folder in another drive but a folder in another computer from the network and I can't make it work.

So, the computer "A", that has Apache, CAN see the shared folder named "temp" in computer "B". If I map folder "temp" in computer A so that it becomes a drive in computer "A" and try to use the new networked drive as an alias, it will not work so I gave up this idea.

Next, I am trying to use the full network address of the shared folder. So, if I use "\\delveneto\temp" in Windows Explorer of computer A, I can access the shared folder temp ("delveneto" is the name of computer B in the network).

So, I am trying the following in the httpd.conf file of the Apache server:

Code:
Alias /netfolder "\\delveneto\temp"

<Directory "\\delveneto\temp">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>


When I try to access the address, I receive the following 403 error:

"Forbidden
You don't have permission to access /netfolder on this server."

error.log says:
"... client denied by server configuration: E:/delveneto"

Since I never know when to use slash or backslash, I also tried to use \\delveneto/temp instead of \\delveneto\temp and the same error happens.

Both computers A and B use Windows XP Pro, SP3. Apache is version 2.2, latest.

I also changed the "Log On As" field for the Apache service from the Local System to a user that CAN access the "temp" shared folder from computer A to no avail.

I don't know what else I should do. I also don't understand why the error.log says E:/delveneto if delveneto is a computer and not a drive "E".

Can someone shed some light into this problem?

Thank you.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 03 Dec '10 7:01    Post subject: Reply with quote

//computername/sharename/foldername

and if you wanted to use the \

\\\\computername\\sharename\\foldername
Back to top
irookie



Joined: 03 Dec 2010
Posts: 2
Location: Bethesda, MD

PostPosted: Fri 03 Dec '10 23:17    Post subject: Reply with quote

Thank you!!! Solved the problem.

These damn slashes, I never know how to use them...

Smile
Back to top


Reply to topic   Topic: Cannot find a way to use a network folder View previous topic :: View next topic
Post new topic   Forum Index -> Apache