Running page with external folder mount
Running page with external folder mount
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
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
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Running page with external folder mount
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'
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
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
what does restorecon -R /var/www??
I try to execute and give me operation not supported
- AlanBartlett
- Forum Moderator
- Posts: 9320
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: Running page with external folder mount
Thread moved to [i]CentOS 4 - General Support[/i].
Re: Running page with external folder mount
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
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
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Running page with external folder mount
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?
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
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??
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
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.
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
It give me same dependency error.
Other solution??
Other solution??