Usr Directory

Nov 1, 2009

Which files could I safely delete/archive from the usr directory? Also, what is the command to list each subdirectory's size?

View 8 Replies


ADVERTISEMENT

CPanel Directory / Sub-Directory Protection (Linux Shared Hosting)

May 31, 2007

I have a situation like this:

There is a directory say, "Master" and inside, "Master" there is sub-directory, "Slave". A user who has access to, "Master" should be able to access, "Slave" automatically. However, a user who has access to, "Slave" should not have access to, "Master". Inside cPanel this type of protection is not possible.

View 3 Replies View Related

Httpd Directory Alias (public_html) Virtual Directory

Dec 11, 2008

How do I direct my httpd file to point to:

home/USER/public_html
instead of:
C:Users estetc...

I want to do this to make my test server just like the remote server.

View 5 Replies View Related

Move The Entire Contents Of A Directory Tree To Another Directory

Sep 18, 2008

I want to move the entire contents of a directory tree to another directory.

So for example we may have a directory with 15 directories inside, each directory contains files itself. I want to copy all the files from the directory tree into another directory located somewhere else one the file system. I want only the "files" to end up in the other directory and not the file structure too.

Im running CENTOS latest version.

View 4 Replies View Related

How To TAR A Directory

Jan 31, 2008

If we want to Create output of "Tar" a directory ; to different server, how can we do that ?

I tried this command, but it does not works

tar -cvf oldserverzip.tar /directory | ssh newserver@newserver.com
Basically, what we want is to shift a site "dump" to another server, without creating a copy at source server (as there is no space available there to create a "dump")

View 12 Replies View Related

SSL Directory

Aug 14, 2007

Cpanel 11
Fedora

Is there any particular reason or advantage to having SSL files load from a different directory than the http files load?

for instance the http home files are in

/home/domain

is there any reason that an index.html (unsecure file) would need to redirect secure files from a directory?

View 4 Replies View Related

/bin Directory

May 6, 2007

how I go about unlocking my bin directory and making it writable again. I tried to do installworld with the latest freebsd release and as soon as it gets to the bin directory I get a permissions denied error. I looked at the permissions and ownership compared to another freebsd box and they all look the same. I tried to create a file by using touch just to test it and I received permission denied error.

View 3 Replies View Related

Directory

Apr 21, 2007

I want to have a directory that i want to set up so you can only a script can see files in a directory. They will be getting the file names from the database, i have turned off directory browsing. I have also set up a Robots.txt and stopped robots from scanning the directory. Is there anything else i can do?

Also is there and software that allows you to download an entire site. Even if it is gigs of content. If so, how do i set it so it will stop that from happening. I am on linux. Centos running Cpanel.

View 2 Replies View Related

Virtual_html Directory

Mar 9, 2009

I know that /www is an alias (symlink) for public_html, but I came across an account with virtual_html. Is there a difference between virtual_html and public_html?
And while I assume secure_html is for secure files, how does it tie in?

View 5 Replies View Related

How To Delete A Directory Through Ssh

Aug 20, 2008

I'm trying to use SSH to delete a directory. It won't delete via FTP.

I've tried variations of the below but nothing seems to work;

rm -f [folder]
rm /-f [folder]

the directory that should be deleted is test.crossroadsclub.net, so I use that as the folder.

View 5 Replies View Related

Protecting A Directory

May 23, 2008

how do i protect a file directory from be accessed view a web browser but still allowing scripts like flash to access it?

i have a folder with xml files in it and i don't want a user pulling them up via there webbrowser.

View 3 Replies View Related

Session Directory

Oct 30, 2008

I need to make this writeable but I can't find it on my server with my FTPclient. Can someone tell me what it is and where it's likely to be?

Maybe I have to create one?

View 1 Replies View Related

/var Directory Full

Aug 6, 2008

I have 10 GB partition and we have mount /var direcotry and now it has been full 97% what can i do and how to manage it and i have no other option because no other space is available to create new partition and mount there.

View 10 Replies View Related

Directory In /tmp Deleted

May 8, 2008

the caching directory I created for eaccelerator deleted by itself. There are 2 copies of eaccelerator, one for apache and one for litespeed. The one for Apache got deleted today. Could it be due to the fact that the directory hasn't been modified or accessed in nearly 2 weeks? It's been that long since Apache was used.

View 4 Replies View Related

IIS Directory Access

Nov 4, 2008

How do I do this in IIS

I need to be able to access resources such as PDFs, videos from my website once a user has logged in but I need to block users being able to access the resources from a url?

View 6 Replies View Related

Ftp Directory Wwwroot

Jul 26, 2008

i updated my old pages on the ftp directory wwwroot.. i deleted the old files and inserted new pages with new names.. now i am not able to see the new website if i type the exact address..the old page is still being viewed. wheras if i omit the www part from the addres i am able to see the new page..

View 5 Replies View Related

Hide Directory

Jul 9, 2008

I want hide the directory of my site:

[url]

How to hide the content list there?

View 4 Replies View Related

Directory Back-Up

Jul 30, 2008

I would like to make some kind of script (probably .sh?) that automatically takes a directory, makes a copy of it then makes a gzip tar and then shoots it over to an FTP server. I would like this to happen twice a day (ie. every 12 hours).

View 13 Replies View Related

Php.ini Per User Or Per Directory

Jun 12, 2008

I am running phpsuexec on the server and it seems all php.ini settings are being applied per directory, I would like to have them running per user.

View 6 Replies View Related

Cgi-bin Directory Not Found

Jan 20, 2008

I upgraded from Apache 1.3.7 to the latest copy
Everything works nicely, except the cgi-bin directory

When a user tries to access a script or even a standard text file, it throws up the error..

Not Found

The requested URL /cgi-bin/first.txt was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

When they try and access the cgi-bin directory itself, they get

Forbidden

You don't have permission to access /cgi-bin/ on this server

Now, I've checked the httpd.conf file and this is what it has for Cgi-bin

<IfModule alias_module>
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
</IfModule>

<Directory "/usr/local/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all

</Directory>

And the error logs say..

[Sun Jan 20 18:09:56 2008] [error] [client xx.xx.xx.xx] File does not exist: /home/goewowc/public_html/404.shtml
[Sun Jan 20 18:09:56 2008] [error] [client xx.xx.xx.xx] script not found or unable to stat: /usr/local/apache/cgi-bin/first.txt

The CGI-bin directory is chmodded correctly, the files are also chmodded and belong to the correct group

View 3 Replies View Related

Ls: Reading Directory

May 9, 2007

css $ ls -l /san
ls: reading directory /mountfd: Too many open files
total 0

View 3 Replies View Related

Cannot Make Directory Via SSH

Aug 13, 2008

I'm trying to create a directory, "hello", so I log in via SSH and CD to /proc, as this is where I want the directory to be. I type, "mkdir hello" and I get the following;

mkdir: cannot create directory `hello': No such file or directory

I've searched around for the error, and I've found two mentioned problems;

Persmissions
Parent directory doesn't exist.

However, the parent directory; /proc does exist and it has the permissions 7777.

View 8 Replies View Related

Remote Directory

Jun 21, 2008

I'm trying to understand how to create a remote directory for basically external processing.. meaning..

I create let's say..

/bla/share

Then I patch that share into a running apache/php on the said server and connect externally to mysql and begin my remote processing..

I've tested bandwidth between the 2 servers at about 5 mbit and am looking to process about 176 Gb of data..

Of course I have a dozen questions on this issue since I've never done this before and don't know how to exactly establish a remote directory..

What is the easiest software/program to use command line for a remote directory.. sshfs, nfs or other? (especially for a older o/s FreeBSD 4.9)

Would data manipulation at 5 mbit sustained be really slow for processing 176 Gb of data give or take? (were not talking about copying that I know off.. just resizing files etc.)

View 0 Replies View Related

Php.ini In A Specific Directory

May 23, 2007

php runs as cgi on my server, this, I cannot override settings with htaccess.

If I place a php.ini in a specific directory, will this directory' s php settings be override by this php.ini?

View 2 Replies View Related

Directory Using A Different Server

Dec 12, 2007

I currently have a website that is on a dedicated, managed server and on this I have a few websites.

I'm looking at buying a video upload script, similar to youtube. So that people can upload DIY related videos.

My dedicated managed server is quite full and so I have just leased another dedicated server.

Originally I intended having the video upload site on a seperate domain name, but then I wondered if I created a directory on my current site, would it be possible to have the script on my main site in a directory but use the new server to run the script and hold the video etc?

So on my existing site I would have a directory like this /video

But instead of this using my resources on my existing server use the new server that I am leasing!

I am not sure if this is possible or not and so I thought I would ask the experts.

View 0 Replies View Related

Archiving A Whole Directory

Sep 29, 2007

How do I archive a whole directory using ssh?

There is gzip and tar, but what command do I use to make an archive for a whole directory?

[Directory ---> One_Archive.tar]

It will be easier to transfer big directories this way by archiving it all into one.

View 3 Replies View Related

Set Qmail Log Directory

Aug 1, 2007

How do i set qmail to log to other directory other than /var/log/qmail/qmail-xxxx/current ?

This is a FreeBSD system

View 11 Replies View Related

Protect Directory

May 22, 2007

i have another question is their a way to protect a directory without using .htaccess because i dont have modrewrite installed on my apache server.

View 4 Replies View Related

FTP - Directory Does Not Exist

Jan 21, 2007

I was CHMODdin some directories and suddenly my FTP program says: Directory does not exist. When I refresh indeed the dir is gone, the site is not accesible anymore.

View 1 Replies View Related

How To Disallow Access To A Everything In A Directory

Oct 26, 2005

Ok, here's the deal. I am about to start a site to allow users to log into a password protected area and then, based on each individual user, they will be given access to a .pdf file which contains pricing and rate information that is specific to the particular user.

What is the best way for me to secure the location so that a person could not go to - for instance - www.site.com/docs/xxx.pdf and view someone else's file?

I am using a Win Server 2003/IIS 6 environment. The site will be written in php, and will have a SQL Server 2000 backend to store the userid/pwd combinations, and the name of the particular user's file. I know to make it where the contents of the directory can't be listed, but I need to make sure a person could not quess the filename of another users .pdf and be able to view it.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved