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

learn more… | top users | synonyms (3)

1
vote
0answers
49 views

Redirect subfolder to subfolder and remove subfolder via nginx

I'm trying to redirect a subfolder to another subfolder with nginx. The hard part is removing the target subfolder from displaying, as it's a ruby app and not a true root folder. They are both on the ...
0
votes
1answer
97 views

How can i serve domain subfolder from different Apache 2 server?

Squid 3 reverse proxy is pointin to 80.241.222.151 for domain http:// www.megasity.com Apache 2 server is on 80.241.222.151 with all files in the root folder so all requests are served from here Now ...
1
vote
1answer
111 views

centos6 lost '/etc/pki/tls/' folder

I am trying to learn how to install ssl_mod, but with some wrong operation, I lost /etc/pki/tls/ folder. I am trying to yum remove mod_ssl, yum install mod_ssl, but still can not create anything ...
6
votes
1answer
2k views

Is the Apache Directory directive supposed to be relative to the DocumentRoot or not?

Is the Apache Directory directive supposed to be relative to the DocumentRoot or not? I ask in the context of a VirtualHost, but it shouldn't make any difference. In other words, is it supposed to ...
-1
votes
1answer
39 views

Directory theme of apache

I have a server with a web site. My document root is /var/www. My configuration: <VirtualHost *:80> Servername www.eeeeeb.fr ServerAdmin max@eeeeeb.fr DocumentRoot ...
0
votes
1answer
517 views

Apache2 with Passenger and subdirectory with file listing

I have a server configured with redmine using apache2 and redmine. The configuration was relative easy: <VirtualHost localhost> RailsEnv production # create a link in ...
2
votes
1answer
1k views

Powershell to add users to a group

I have written this bit of PS to add users from a text file to and AD group that the user inputs. It works fine except for the if statement. The if statement is supposed to check the group to see if ...
0
votes
1answer
107 views

find all end subdirectories in a tree

given the following structure: oz123@debian:~/ $ tree . . ├── a │   ├── a1 │   ├── a2 │   └── a3 ├── a1 │   ├── a11 │   ├── a12 │   └── a31 ├── b │   └── b1 │   ├── b11 │   │   └── b21 │   ...
0
votes
1answer
166 views

How to use a load balancer with apache with php based applications?

I have found that i need to add another server to my setup but my web application is designed with php. Basically, in my application, there is a mkdir command that makes a directory for the user. If i ...
0
votes
1answer
91 views

Software for syncing two folders?

I have a SQL Database that is running 15 minute backups to a folder on the local disk. I also have a maintenance task in SQL Server that's automatically deleting any backups that are over 1 hour old. ...
2
votes
1answer
590 views

Least, secure and enough permissions for public_html and folders and files under public_html using SuPHP for shared hosting environment

I have a server with SuPHP and DirectAdmin. Many (but not ALL) of my users are running Joomla and Wordpress. Will it make a problem if I chmod public_html and sub-folders to 700? Will they NEED more ...
0
votes
1answer
365 views

Looking to generate a directory exception to .htpasswd SSL-protected site

I have an entire site under .htpasswd with SSL - any http requests are rejected - and am trying to exempt a folder from the rule. Either to do a basic .htpasswd for the directory, or make it open. I'm ...
4
votes
1answer
104 views

SVNParentPath directory authorization

The question is a bit stupid but I can't get it sorted. I have a server with SVN that uses the SVNPath directive in httpd.conf and all works fine with path authorizations. Now I'm installing a second ...
0
votes
3answers
7k views

Allow subdirectory with Apache

I feel like this is a fairly simple fix and have seen similar problems when searching but haven't been able to fix it with those solutions. Basically the problem is I cannot access any subdirectories ...
19
votes
3answers
24k views

What is the maximum number of files a file system can contain?

Given the current structure of a directory entry on a ext4 file system on Ubuntu, what is the maximum number of files a file system can contain? What is the general method of calculating the maximum ...
0
votes
1answer
94 views

Is there a program/tool/script to monitor or view all recent *large* files created on Windows server?

I have been managing a modest SBS 2003 server for several years. Our network policy is setup to store user profiles and "My Documents" folder on the server. Recently the server disk has been getting ...
0
votes
0answers
269 views

Hi is there any way to point subdomain & sudirectory to another hosting

I have a specific problem, I have a domain -- example domain.com & I have a subdomain -- e.g -- > subdomain.domain.com My domain.com has a dedciated IP & in a subfolder of it I have ...
-4
votes
3answers
493 views

Find in all sub directories [closed]

I have a directory with many sub directories, I want to find a file in this directories so I use this command: find ./ -name test.php but this command search just in the top level directory, how ...
5
votes
4answers
8k views

NTFS Permissions for root share that houses Home Directories Windows Server 2008 R2

I am using the AD Profile Tab to Auto create Home Directories at \server\home so the permissions are automatically created. What should the permissions (NTFS) be for the actual folder that the home ...
5
votes
2answers
13k views

How do you use SCP to copy a deep directory?

I need to copy a deep directory on one windows machine over 'itself' on another windows machine. I can't seem to get the command to work correctly. The current problem is that it appears that scp is ...
0
votes
3answers
584 views

Monitoring folder diffs across servers with zabbix

Problem: I want to make sure that a certain folder is equal regarding it's contents across my servers. I do not want an automatic filesync to keep them equal, changing is done manually. My initial ...
-5
votes
3answers
52 views

How to open a directory contains “-”? [closed]

How can I open a directory via PUTTY that contains -? For example the name of dir is: some-thing-dir cd /some-thing-dir not working.
5
votes
3answers
4k views

Is there a hard limit to the number of files a directory can have? [duplicate]

Wondering if there is a limit to the number of files that can be stored inside a directory, in CentOS 6. There is one particular directory which could potentially have millions of subdirectories. ...
0
votes
1answer
42 views

Accessing files using folder name and ~folder name

When I try to access a folder: cd "c:\users\myname\google drive\apache-tomcat-7.0.25" it works fine. However when I try: cd C:\Users\myname\GOOGLE~1\apache-tomcat-7.0.25 it doesn't (folder not ...
3
votes
2answers
1k views

Force apache to server different directories on different ports?

For example, say I have my htdocs in: ~/public_html and those documents are being served on port 80. Is there any way to make apache server documents in: ~/public_html/something on a different ...
0
votes
2answers
2k views

Change the document root of a parked domain?

I have run into a problem which is that my web host doesn't appear offer addon domains. I currently have a domain name pointing to my name servers. I went into cPanel to add an addon domain that ...
8
votes
9answers
10k views

How to solve linux subdirectories number limit?

I have a website which will store user profile images. Each image is stored in a directory (Linux) specific to the user. Currently I have a customer base of 30+, which means I will have 30+ folders. ...
0
votes
2answers
866 views

How do you redirect pages from a directory to a subdirectory?

I had recently moved all the content on my website from being in the www.mysite.com/shop directory to being in the root directory. This means that I needed to redirect any request to visit a page with ...
3
votes
2answers
426 views

How to “cd” to non utf8 directory

How can I change directory to directory that name consists of non ASCII default characters? root@senior:/media/data/hudba/# ls . -l total 3096 -rwxr-xr-x 2 user users 3160192 Jul 31 2006 Lucie ...
0
votes
1answer
140 views

serving webapps out of arbitrary subfolders with nginx

I'm serving webapps out of arbitrary subfolders on a domain. i.e. example.com/app-one (with example.com/app-one/page served by app-one) example.com/folder/app-two (with ...
15
votes
5answers
25k views

How do I find (or exclude) all directories and sub-directories matching a certain pattern (in Linux)?

I'm trying to use the Linux find command to find all directories and sub-directories that do not have .svn (Subversion hidden folders) in their path. I can only get it to exclude the actual .svn ...
0
votes
1answer
114 views

Sharing folders with other user on Ubuntu 12.04

I have recently set up a server on Ubuntu 12.04 . I have an mail server hosted on the same server. Now, there are a number of users with email id at my domain who can ssh to my server to see the ...
0
votes
1answer
38 views

Linux directory moved

a directory was moved with mv command in a Linux box, what logs should be looked at for such action? in root bash_history i can see the command was used, unfortunatly bash_history was not recording ...
0
votes
2answers
2k views

How to allow only specific directories to use htaccess?

Currently in apache2.conf I have AllowOverride all set for /var/www which simply allows htaccess for all the sites on the server (which is Ubuntu, 9.04). However, I'd rather only allow overrides in ...
0
votes
1answer
171 views

500 Error when using Apache Directory Directive

I am trying to restrict access to certain directories to certain IP's.... I have done some research & the below is what I came up with, however it returns a 500 internal server error when I try ...
6
votes
1answer
6k views

Reverse proxy for a subdirectory in nginx

I want to set up a Reverse proxy on my VPS for my Heroku app (http://lovemaple.heroku.com) So if I visit mysite.com/blog I can get the content in http://lovemaple.heroku.com I followed the ...
0
votes
3answers
1k views

500 error after dragging joomla website out of subdirectory

I recently dragged a website I built with joomla out of a subdirectory and now the whole website just shows a 500 internal error, can't even log into the backend. I've already tried changing the log ...
1
vote
0answers
88 views

htaccess, mod_rewrite, remove part from URL

I want to access domain.com/api/(.*) instead of domain.com/public/api/(.*) Directory structure: domain.com __folder1 __folder2 __public ____api ______.htaccess2 ____afolder1 ____afolder2 ...
0
votes
1answer
207 views

Rewrite certain URL in Nginx such that another app will serve it

I have a config file for mydomain.com which is served with Drupal. Problem is this rewrite rule takes the control over any request: if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 ...
0
votes
4answers
729 views

Copy files from one server to another with same permissions

Im migrating to new server and i need to move few websites but i need to have same read/write permissions to new serves as they were on old server. I don't need to keep group and owner id's same but ...
0
votes
1answer
66 views

SBS 2008 Redirection visibility issues - want to move off SBS 2008

I inherited an SBS2008 server which had a corrupt or otherwise lost userid which was used to setup redirects, etc. I was able to break in by enabling the Administrator ID and resetting the password. ...
0
votes
1answer
222 views

Apache serve files with NTFS permissions?

I hope I came to the right sub for this question. Basically here is the scenario: You have folder name Testfolder which is hosted on Apache. Test folder has files that only certain users on the ...
0
votes
1answer
86 views

Issue with Apache folder and file permissions

I hope I came to the right sub for this question. Basically here is the scenario: You have folder name Testfolder which is hosted on Apache. Test folder has files that only certain users on the ...
0
votes
3answers
66 views

Apache folder and file permissions

I hope I came to the right site for this question. Basically here is the scenario You have folder name "Testfolder" which is hosted on Apache. Test folder has files that only certain users on the ...
0
votes
1answer
1k views

Percona server won't restar after datadir change

I installed percona from percona repository on a ubuntu 12.04 server which has a solid state drive. I thought i would rather put the datadir on the Solid state drive and put partition on normal sata ...
-1
votes
1answer
76 views

Get size of folder without iterating over its content? [closed]

Is there any unix file system (or network fs) that can get size of folder without iterating over its content? I need the fastest and cheapest way to get size of folder (maybe some fs cache metadata ...
2
votes
1answer
2k views

Robocopy uses relative path for Source and Destination paths

I'm trying to use RoboCopy in my TFS Build Template to copy some files, but for some reason it inserts "C:\Windows\system32" in front of my Source and Destination paths, even though I am passing in ...
0
votes
1answer
79 views

Put website into a folder, don't show folder on URL, and still have access to other folders

I'm trying to host my website into a folder on the FTP, for example, /site. But on the URL i want to remove this folder, so it will be www.mysite.com.br instead of www.mysite.com.br/site. I've ...
0
votes
1answer
45 views

rsync synchronizing files only without creating folders on destination

Is it possible with rsync to not create directories on destination? MY SOURCE: a/ a/x.txt b/ b/y.txt b/c/g.txt MY WANTED DESTINATION: d/x.txt d/y.txt d/g.txt Is there any way to do this with ...
0
votes
2answers
3k views

How to make a subdomain record point to a subfolder of my website “godaddy domain manager”?

I have a dedicated server on a webhosting company "not godaddy", and I manage my domains through godaddy. I want to add a new subdomain and want this domain to point to a certain folder in my website. ...