Running page with external folder mount

General support questions including new installations
Post Reply
mansores
Posts: 7
Joined: 2013/06/20 14:40:38

Running page with external folder mount

Post by mansores » 2013/06/20 14:59:00

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

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Running page with external folder mount

Post by gerald_clark » 2013/06/20 16:23:19

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'

mansores
Posts: 7
Joined: 2013/06/20 14:40:38

Re: Running page with external folder mount

Post by mansores » 2013/06/20 16:33:29

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

User avatar
AlanBartlett
Forum Moderator
Posts: 9319
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Running page with external folder mount

Post by AlanBartlett » 2013/06/20 17:47:56

Thread moved to [i]CentOS 4 - General Support[/i].

mansores
Posts: 7
Joined: 2013/06/20 14:40:38

Re: Running page with external folder mount

Post by mansores » 2013/06/20 22:57:39

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

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Running page with external folder mount

Post by gerald_clark » 2013/06/20 23:20:36

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?

mansores
Posts: 7
Joined: 2013/06/20 14:40:38

Re: Running page with external folder mount

Post by mansores » 2013/06/20 23:27:00

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??

User avatar
toracat
Forum Moderator
Posts: 7297
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Running page with external folder mount

Post by toracat » 2013/06/21 00:14:21

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.

mansores
Posts: 7
Joined: 2013/06/20 14:40:38

Re: Running page with external folder mount

Post by mansores » 2013/06/21 10:32:51

It give me same dependency error.

Other solution??

Post Reply