A directory, also commonly called a folder, is a filesystem object used for organizing files and other directories.

learn more… | top users | synonyms (3)

0
votes
1answer
229 views

How do I allow access to a directory in apache that is actually a RewriteRule match?

We have a server with a lot of domains. Each domain will have one or more of the following admin areas that we wish to secure by IP: domain.tld/admin (admin area) domain.tld/blog/wp-admin (wordpress ...
0
votes
0answers
110 views

How to approach SSL encryption with file uploads

I added SSL to a site I'm putting together, and it caused a huge error that I have no idea how to approach. The user logs into the site, which allows them to upload files to the server into a ...
0
votes
2answers
53 views

Delete oldest directory, skipping two of them

I have to delete oldest directory. But, two of directories does not have to be "included" in this action. So, directory content looks like this: [root@myserver backup]# ls -la total 84 drwxr-xr-x 21 ...
0
votes
1answer
359 views

nginx points the sub-directory of an alias folder to the base directory

I am new to Nginx. Now I have a confusion on nginx configurations: My web site contains folders in different locations: location / { root /Path1; } location ^~ /download { alias /Path2; } ...
0
votes
1answer
172 views

Apache Server - Subdirectory on different server [closed]

You have 2 different servers with different IP Addresses. Both servers are Apache based. Server A: already hosts a website (http://example.com) Server B: would host a WordPress website to be in a ...
0
votes
1answer
75 views

How to access original files from before a symlink gets updated, which have since been moved to another dir

We have a website and our deployment process goes somewhat like the following (with lots of irrelevant steps excluded) echo "Remove previous, if it exists, we don't need that anymore" rm -rf ...
0
votes
1answer
200 views

Change permission for home directory on debian [duplicate]

My Debian machine is running DirectAdmin and we have build our own CMS. By now, when we create a new website a new folder and user will created down the /home/ directory. As an developer to setup ...
2
votes
3answers
45 views

NTFS folder permissions traverse

Here is the problem We have NTFS file server with several layers of sub-folders. FolderA\ - User AAA should not have access FolderA\FolderAA\ - User AAA should not have access ...
1
vote
1answer
1k views

/bin/sh: /bin/cp: Argument list too long

I have problem with this command: 'cp' -fr /www/*-aws/* /www/mainhost/aws/awstatstotals/tmp/ Error is Argument list too long - I know many /www/-aws/ folders. I know that I can use FIND command, ...
2
votes
1answer
112 views

Apache Location and Directory access

I have Apache 2.2 running on CentOS 6.4 There is application in / directory and folder where are some files, lets say it is /public. I need to allow access to / directory to ip1, ip2, ip3 and allow ...
-1
votes
2answers
227 views

A linux program/script for keeping certain folders below fixed size, removing oldest files if neccessary? [closed]

E.g. the autotrash would do perfectly if it wasn't bound to monitor trash folders only.
-1
votes
1answer
77 views

Should images be stored on a subdomain or subdirectory?

I'm working on a sharing app where images get stored for 24 hours. Does it bring any advantages to store them on a subdomain http://imgs.example.com instead of a subdirectory ...
-1
votes
1answer
174 views

MySql - Lost /var/lib/mysql directory [closed]

So, the thing is that I was messing around with directories to backup and I delete the folder /var/lib/mysql and now i cant connect to my database gettin this error (I'm using plesk panel): ...
1
vote
1answer
145 views

Does a Windows Server 2012 FRSM auto-applied quota at a root folder mean the root folder has a cumulative quota equal to all subfolder quotas?

I've done some reading on TechNet and run a few searches for this answer, but so far haven't found anything. I have a root folder with 9 subfolders, and I assigned an auto apply template to the root ...
0
votes
1answer
49 views

Nginx and multiple applications

I am new to nginx, and here what I am trying to achieve : I have only one domain name. I want to have several applications, accessible with something like : mydomain.com/app1 mydomain.com/app2 etc ...
5
votes
2answers
1k views

Apache2 - 301 Redirect when missing “/” at the end of directory in the url

I haven't really noticed this Redirect(301) when requesting a url like this without slash("/") at the end: http://server/directory The server will respone with a 301 Redirect Permanent header with a ...
-1
votes
2answers
293 views

How to quickly move files and folders from local server to amazon ec2 instance?

Moving script files from local server to amazon ec2 instance through winscp drag drop is taking too long for me from windows local server. How to quickly move files and folders from local server to ...
1
vote
1answer
633 views

How to change default duplicity archive directory?

How can I change the duplicity default archive directory (~/.cache/)? The following option seems to be ignored. Option --archive-dir=/volume4/duplicity/cache/ --name backup duplicity 0.6.21 ...
1
vote
1answer
1k views

Can I have two (or more) Apache VirtualHosts separated by subdirectories?

I think this is a simple question, but let me explain better. I have the following development environment: Ubuntu Server 12.04 LTS; Apache 2.4; PHP 5.5; Everything is working fine, except the ...
0
votes
1answer
25 views

Why a given user can access a folder and another one does not?

I have two servers: Server one: deploy@server:/home/vftp$ ls -la total 24 drwxr-xr-x 6 ftp ftp 4096 May 7 2013 . drwxr-xr-x 7 root root 4096 Jul 19 2013 .. dr-xr-xr-- 3 ftp ftp 4096 Feb 18 ...
2
votes
1answer
626 views

How can i manipulate the find command to “find” the directories the “found” file is in?

So i'm trying to use the find command to find all files in my system with mtime -x. It does this but it does not "find" the directories of the file. find . -mtime -2 -exec rsync -av {} /destination/ ...
0
votes
1answer
25 views

Python code location on debian [closed]

Simple question, which of these is a better directory setup for locating my project and why, as I have seen both recommended on different tutorial sites: Option 1: ...
1
vote
1answer
64 views

apache override authentication in a specific folder

How do I change/override the authentication in apache to a different one in a subfolder? I tried this one but it didn't work. How can I fix it? <Directory "/"> AuthName "Front End Access" ...
11
votes
2answers
10k views

What Are The Best Practices For Business Folder Structure?

We've tended in the past towards having departmental folders (Sales, Marketing, etc) on a single share and then adding folders below these ad-hoc as and when they're needed. It's gotten a bit messy - ...
0
votes
1answer
1k views

User folder not showing up in Windows Explorer

I have a user that logs into the domain receiving an error message regarding their "my documents" folder being inaccessible. Browsing the D:\Users directory using Windows Explorer on the server, the ...
1
vote
1answer
29 views

Show website on one server in subfolder on another server

I have two websites. One website is a microsite developed by someone else, hosted on a subdomain and I would like to serve this website via a URL on the second website, for example: ...
0
votes
1answer
331 views

Using named groups in a DirectoryMatch directive

I have the following directive in my httpd.conf: <DirectoryMatch ^/path/(?P<SI>[^/]+)/logs/bibi> php_admin_value open_basedir /path/?P=<SI>/ </DirectoryMatch> The ...
1
vote
0answers
126 views

Composer runtime error when deleting subdirectories

I am running 'composer install' on my server, and then using the script feature to delete all subdirectories called '.git' but I am running in the following composer error. Delete all .git dirs find: ...
0
votes
1answer
46 views

Apache directory listing

Hi i previously had setup a web server using apache 2.0.65, but i decided to update to 2.2. After updating i noticed that the look of the directory listing changed. It previously looked like this, but ...
1
vote
1answer
106 views

How do I symlink one directory to a chrooted (jailed) directory?

'm trying to create a folder (directory) for a jailed user on my server that will allow him to access another folder outside of his jail. I'm trying to do this with symlink but all it does is create a ...
0
votes
2answers
93 views

IIS: directory only accessible from/over a specific subdomain

to explain my purpose, this example of a directory structure: C:\www\ C:\www\folder-1 The domain "example.com" has "C:\www\" as home directory, and the domain "member.example.com" has the home ...
2
votes
1answer
177 views

Windows 7 / 2008 connect to VPN at login with Group Policy

I am trying to find a way to have windows 7 VPN clients connect to the VPN server automatically via Group Policy. I tried using a login script but it looks like the scripts are shared from sysvol and ...
1
vote
1answer
414 views

Apache: ExpiresByType per directory?

I have a folder with javascript files that should expire faster than the normal scripts. Is it possible to let files expire per directory using Apache 2 other than .htaccess? <IfModule ...
1
vote
0answers
32 views

ASP.NET Webapp Works as Full Website, but not as Application

I have a fairly simple ASP.NET (targeting.NET 4.0) web app, which is used as a dynamic request form. I have tested this and it is working as a Web Site within IIS 7 running on Windows Server 2008 R2. ...
0
votes
2answers
160 views

Powershell - I can create folders with a future date label, but the year is not changing

So, I use Powershell to archive user directories, after a user has left. We keep the archive for 6 months before we delete it. The script is supposed to label the archived folder as "DeleteAfter-(6 ...
0
votes
0answers
2k views

Cannot rename new folders in a server folder

Windows Server 2008 R2 SP1 - Windows 7 SP1 - Folder located on server, normally accessed via drive letter There is one folder on the network where all users have modify rights. Suddenly people are ...
4
votes
1answer
7k views

Unable to join 64-bit Windows 8.1 Pro Client to Windows 2003 domain. Win 7 works fine

I am unable to join a 64-bit Windows 8.1 Pro Client to our Windows 2003 domain. A 64-bit Windows 7 client joins fine. After installing Windows 8.1, before joining to domain, if I run nltest ...
0
votes
1answer
309 views

Shared file size limited to local drive size

I wish to use alfresco as a shared file system using Windows (XP, 7 & 8) Explorer. I can access the shared folder, and can modify files on it. I can mount the alfresco filesystem, and it mounts ...
0
votes
1answer
199 views

Mount a folder on OpenVZ Container

I'm struggling to get an NFS filesystem mounted on godaddy VPS. It looks like they are using OpenVZ, and I'm unable to mount an NFS filesystem share from one VPS to another. Does anyone know a way to ...
0
votes
1answer
1k views

find directories in the current directory, older than 5 days and archive them

This is basic questions. I need to find folders in the current working directory(not recursively) and if they are older than 5 days archive them. zip or tar.gz is fine. I can find the folders with ...
-1
votes
2answers
70 views

How to load my app from client's domain name

I am building a SAAS product which is hosted on abc.com and i will have few clients with domains client1.com, client2.org, client3.in etc. Now i want to serve my application to each client on their ...
1
vote
1answer
527 views

DocumentRoot Directory Apache httpd

I want to make changes over my httpd.conf file of Apache running in Windows, but I want to know why need to use (or declare) the same root twice. DocumentRoot "C:/Apache/htdocs" <Directory /> ...
0
votes
1answer
142 views

Rename subfolder directories Windows 2008 R2

Just trying to work out a way to rename some sub folders and could do with some help. Basically, When our staff write documentation for a proposal, they create a folder with the project name. When ...
-2
votes
1answer
1k views

windows server C drive and shared folder permission [closed]

i have an app, that needs to run in the folder in root of C drive (C:\AppFolder). And on client, i need map network drive for C:\ because that app searches for \AppFolder... directory. So i have ...
0
votes
1answer
544 views

Setting folder permission on a remote Windows 2008 R2 server in PowerShell or Command Prompt

Does anyone know of a way to set a folder's permissions on a remote server using either PowerShell or the command prompt? In other words, sitting at server01, launch PS or CP, type a command to set ...
0
votes
2answers
45 views

Apache virtual hosts, aliasing, and directories

If you have an Apache running at somewhere.net, and you have a number of virtual hosts as well (a.somewhere.net, b.somewhere.net), you can access directories on the main branch while you are on the ...
0
votes
1answer
59 views

Folder sizes differ within two copied NTFS file trees (using ntfs-3g)

I have a NTFS partition, that I previously used with a Windows machine. I installed ntfs-3g as a filesystem driver in CentOS, then mounted the drive. I copy the contents (cp) to a different NTFS ...
2
votes
3answers
137 views

Given an original and backup filesystem, how can I find out if any files are missing?

I found from this posting on Stackoverflow, if you just wanted to get a list of corresponding files whose content differs, then you could execute: diff --brief --recursive dir1/ dir2/ ...and ...
1
vote
1answer
44 views

How to view all the steps involved in ldapsearch operation?

I am using $> ldapsearch -x -H ldap://<Directory Server IPv4 Address> -D cn=admin,o=myorg -s one -b t=TEST -v to view some entries at level one in my tree, this is working fine. ...
-1
votes
1answer
54 views

Collect Email addresses

I'm trying to collect all the email addresses from my Active Directory users. We don't use Exchange and when it was initially set up no emails were entered. Now we are trying to build a mailing list ...