I'm very new in these things of webservices configuring.
I have a home LAN, with one box running Mandrake 8.0i and some computers in it running Windows.
One of them has an 80GB disk which I'd like to "share" trough my httpd.
I mapped the Windows share with smbmount and it works ok.
I've mapped it with the apache user and it's ok, it reads the Win share.
I also wrote this in /etc/httpd/commonhttp.conf:
Alias /sa /mnt/sharedana/
The beginning of the file reads:
### Common server configuration
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents.
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
and this windows/MagiCminD is, of course, a local dir in hda5.
The /mnt/sharedana, on the other hand, is the shared folder in the windows XP professional computer.
It's being recognized by the httpd, but with access denied!
BTW, when mounting the share I used, under the apache account:
smbmount //ana/shared sharedana -o username=Ana Mota dmask=777 fmask=777 rw
What I see when I do an ls -la in /mnt is:
[root@magicsrv /mnt]# ls -la
drwxr-xr-x 9 root root 4096 Mar 1 20:29 ./
drwxr-xr-x 21 root root 4096 Apr 16 2002 ../
drwxrwxr-x 2 root root 4096 Apr 24 2002 ana/
drwxrwxrwx 1 root root 0 Mar 1 20:40 cdrom/
drwxrwxr-x 2 root root 4096 Mar 27 2001 disk/
drwxrwxrwx 1 root root 0 Mar 1 20:40 floppy/
drwx------ 1 root root 512 Mar 3 20:02 ftana/
drwx------ 1 root root 512 Mar 3 20:02 sharedana/
drwxrwxrwx 8 root root 8192 Jan 1 1970 windows/
Which doesn't seem to be what I've asked for when I mounted the share...
Can anyone help?
I just want to share the other computer's folder...
Oh, the release of the apache server is:
Server version: Apache-AdvancedExtranetServer/1.3.19 (Linux-Mandrake/3mdk)
Server built: Apr 16 2001 07:50:02
Thank you all.