Page 1 of 1

Running page with external folder mount

Posted: 2013/06/20 14:59:00
by mansores
Hello Guys,

I need your help.

I'm new working with linux, and have a problem that i dont know how to solve.
Here is the point.

I have CentOS 4.
I use Webmin.

I have mounted an external drive
mount /192.168.2.XXX/folder /var/www/html/folder/folder
I can access to that folder by filesystem.

I create a a VirtualHost


ServerAdmin webmaster@domain.pt
DocumentRoot /var/www/html/folder

ServerName domain.domain.com


Order Allow,Deny
Allow from all
Require all granted




In the folder /var/www/html/folder
i have my files (index.php, etc..) and the mount folder.

When i try to access page domain.domain.com the index.php open.
when i try to open domain.domain.com/folder give me You don't have permission to access /folder on this server.

Someone can help me? i have lost 8 hours trying to solve but no success.

Tanks a lot

Sérgio

Running page with external folder mount

Posted: 2013/06/20 16:23:19
by gerald_clark
1. This is not a problem with the centOs website, so you are in the wrong forum.
2. CentOS 4 is End of Life (obsolete), and not supported.

Use CentOS 5 or better yet CentOS 6.
Try 'restorecon -R /var/www'

Re: Running page with external folder mount

Posted: 2013/06/20 16:33:29
by mansores
Sorry, i dont know were to make the question.

what does restorecon -R /var/www??

I try to execute and give me operation not supported

Re: Running page with external folder mount

Posted: 2013/06/20 17:47:56
by AlanBartlett
Thread moved to [i]CentOS 4 - General Support[/i].

Re: Running page with external folder mount

Posted: 2013/06/20 22:57:39
by mansores
Now i understand what is wrong.

I need to install ntfs-3g.
I make yum install fuse fuse-ntfs-3g
but give dependency error.

Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package ntfs-3g
Error: Missing Dependency: rtld(GNU_HASH) is needed by package ntfs-3g

How can i solve that?

i need help.

tanks

Re: Running page with external folder mount

Posted: 2013/06/20 23:20:36
by gerald_clark
CentOS 4 is end of life.
There are no new updates, and the repo has been moved to vault.centos.org.
Why are you doing new work on an obsolete, unsupported and insecure version of CentOS?

Re: Running page with external folder mount

Posted: 2013/06/20 23:27:00
by mansores
Beacause i have a urgent work to do.
Then i will make a new machine with CentOs 6

But there are no chances to solve my problem??

Re: Running page with external folder mount

Posted: 2013/06/21 00:14:21
by toracat
From your earlier post, I suppose your target device has the NTFS file system. It is possible to mount NTFS in CentOS-4 but it requires some extra steps. The current version of CentOS wiki on NTFS no longer has instructions for CentOS-4. However if you go back to an old page like [url=http://wiki.centos.org/TipsAndTricks/NTFS?action=recall&rev=23]this one from 2007[/url], you can see the description for CentOS-4. I think/hope that the rpmforge repository still carries the required packages.

If this is really "urgent" it might be even quicker if you just install CentOS-5. But it's your call.

Re: Running page with external folder mount

Posted: 2013/06/21 10:32:51
by mansores
It give me same dependency error.

Other solution??