LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   apche permission problem after i mount windows share in linux (https://www.linuxquestions.org/questions/linux-networking-3/apche-permission-problem-after-i-mount-windows-share-in-linux-394747/)

niloshima 12-19-2005 11:30 PM

apche permission problem after i mount windows share in linux
 
I have win2k box. There I have webroot. I mount that webroot to linux using

mount -t smbfs //192.168.1.21/pp_LINUX /var/www/html/pp/ -o username=apache,password=apache

it has mounted in the linux. But when my apache try to access that is gives


Forbidden
You don't have permission to access /index.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.



Apache/2.0.52 (Red Hat) Server at www.palmtec.lk Port 80

I can chnage the owner to apache even. It says the couden't change the owner of the

please help me

mjmwired 12-20-2005 09:05 PM

See what permissions are set on /var/www/html/pp/ when you mount it.
I think the Apache docs state that they should be 755 for it to read correctly.


All times are GMT -5. The time now is 08:30 AM.