Questions tagged [directory]
A directory, also commonly called a folder, is a filesystem object used for organizing files and other directories.
684
questions
1
vote
1
answer
825
views
Open litespeed and additional engines in subfolders
Last night I spent more time than I should have trying to get a new VDS up and running with Percona and Open Litespeed. The site I want to run ok there is structured as follows
Webroot
index.php
...
0
votes
0
answers
20
views
Not working, GPO - Disable Offline Files on individual redirected folders
I've enabled this GPO - Disable Offline Files on individual redirected folders
I've checked the registry and it's applying, but every time I redirect a folder (My Documents or My Pictures), it ...
1
vote
1
answer
9k
views
you must have read permissions to view the properties of this object, administrators group
I think I'm having some difficulty understanding NTFS permissions. My understanding is that when possible you want to avoid assigning a specific user account to NTFS and instead use a group. So I set ...
85
votes
4
answers
110k
views
logrotating files in a directories and its subdirectories
Is it possible to get logrotate to consider logfiles in a directory and all its subdirectories? (i.e. without explicitly listing the subdirectories.)
0
votes
0
answers
261
views
NGINX config for multiple Symfony installations using subfolders
I have a shopware installation (version 6.5.5.1) running on my domain. I want to add more independent Shopware installations, using the same domain (for different languages/countries).
For example, ...
22
votes
8
answers
98k
views
Search for just folders in Windows Explorer
Is there a way to search in Windows Explorer for just folders?
I know folders get sorted to the top, but I'm always looking for that extra option.
13
votes
3
answers
8k
views
Shrink/reset directory size?
Is there a way to shrink a directory entry?
My dovecot maildir directories have increased in size from the default 4096 to several megs, and it is messing with disk quotas.
The only way that I have ...
0
votes
0
answers
45
views
sanitize folder names before creation
How prevent the injection when creating folders with user supplied paths in a unix like system?
Ideally subfolders can be created only in selected or working folder. Although the creation of folder in ...
0
votes
1
answer
1k
views
SFTP Chroot write in chrooted /
Hey,
I'd like to write with the chrooted user in his / but i can't.
Example: i have /home/sftponly/ as ChrootDirectory
Inside has to be another Directory with Permissions to this User, otherwise i ...
1
vote
2
answers
658
views
Apache rewrite rule for a folder to a different domain
I need to redirect all requests concerning a folder to another (old) web server called www2 keeping the entire original path, for example
https://www.example.org/thisfolder/maps/map.jsp?id=2345
must ...
0
votes
1
answer
1k
views
Move files older than day
I am looking for some solution, where I have to move all the directories and files under the source directory to the destination a day before. I want to move the directories till yesterday but not ...
115
votes
1
answer
150k
views
What is the purpose of the ".well-known"-folder?
If've found a new error message in our log files and would like to know, for what this .well_known folder is used for.
Which application/client would need to access such a folder and which ...
1
vote
2
answers
93
views
Delete folders asynchronously
I have a large file system in which I have to delete certain directories from time to time. Currently I have a script which amongst other things, deletes a folder and subsequently generates an email ...
147
votes
7
answers
58k
views
Meaning of directories on Unix and Unix like systems
I've been using Linux for a couple of years now but I still haven't figured out what the origin or meaning of some the directory names are on Unix and Unix like systems. E.g. what does etc stand for ...
0
votes
0
answers
51
views
Isolating a WordPress wesbite within a sub-directory of another
Is it possible to isolate a website within a sub-directory of another on a WHM server? And by isolate, I mean in the event that website within the sub-directory is compromised any malware is contained ...
17
votes
2
answers
12k
views
What is the difference between /usr/local/bin & /usr/local/sbin
I wrote a simple script which I want to share with my colleagues.
Should it be in /usr/local/bin or /usr/local/sbin? What is the typical usage for these directories?
4
votes
3
answers
3k
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 BĂ...
1
vote
1
answer
3k
views
Apache: No matching DirectoryIndex
I'm newbie in apache, i have the following directory structure:
html
|-- moodle
|-- singapur
|-- app
|-- public
|-- js
|-- css
|-- img
|...
0
votes
1
answer
78
views
Free up space on C drive Server 2016
I have a server running Server 2016 and the C drive is getting full. This server's only role is to run an accounting program (MRI) that requires SQL Server. I have two SQL Server files in the ...
80
votes
4
answers
53k
views
How to keep the full path with rsync?
When backing up with rsync, How do I keep the full directory structure?
For example, the remote server is saturn, and I want to backup saturn's /home/udi/files/pictures to a local directory named ...
18
votes
5
answers
108k
views
Why can't I cd into a directory?
I am running Ubuntu 10.04.2 LTS. Why I can't I cd into the /var/www directory?
david@ubuntu:/var$ pwd
/var
david@ubuntu:/var$ ls -l
drwxrwxr-- 13 root root 4096 2011-02-26 21:53 www
david@ubuntu:/...
16
votes
3
answers
35k
views
Good default for XDG_RUNTIME_DIR?
The XDG Base Directory Specification is a very interesting spec for user directories. It also provides good default values, except for XDG_RUNTIME_DIR.
Now I am writing a software that needs to ...
2
votes
1
answer
362
views
Make subdomain files only accessible via subdomain
On a shared hosting I have a public_html directory where the site is located. There are multiple subdomains created and they are located in the public_html like public_html/subdomain1, public_html/...
0
votes
1
answer
2k
views
Set folder permission by OU
I'm attempting to setup folder permissions on my DC to a shared desktop. I have an OU containing the users I want to allow to view this folder, and a GPO which handles the permissions linked to the OU....
1
vote
2
answers
825
views
Nginx Server with multiple applications on sub-directories
My team has a server we use for internal tools and tests. It has a subdomain pointing to it: myserver.mycompany.com. What we're trying to achieve is to have multiple applications, each with under a ...
2
votes
2
answers
2k
views
Apache 2 .htaccess matching all sub directories of current directory
I want to disable the php engine in all directories below the current one.
I have tried using <Directory> and <DirectoryMatch> but cannot find the correct regex syntax for matching just ...
0
votes
1
answer
2k
views
Could not evaluate: Could not retrieve information from environment bootmaster source(s)
Feeling like a complete newbie to puppet (I admit I am very rusty :-)
So my manifest/site.pp file contains.
file {"/tmp/findme.txt":
source => "puppet:///modules/concat/concatfragments.rb"
...
1
vote
1
answer
2k
views
Apache 2.2 LDAP Authentication Error 500 - AuthLDAPURL
I have an Apache server on RHEL 6 that uses our active directory for authentication and when we added a new "LocationMatch"
AuthLDAPURL ldap://ad.company.com/DC=ad,DC=company,DC=com?samaccountname?...
1
vote
1
answer
2k
views
"Path Not Found" when attempting to write to a sub folder within a mapped drive
We have an interesting issue with one of our server shares, or possibly, our Win 7 desktops.
When our users try to save files in a sub folder, either via copy/paste or through an application, to a ...
0
votes
1
answer
2k
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;
}
When ...
0
votes
2
answers
2k
views
WDS stopped working - no servers under Windows Deployment Services 2008 R2
I have three Windows 2008 R2 servers with MDT and WDS installed.
It was reported multicasting stopped working on all of them.
I made sure the multicast option was selected in the deployment shares' ...
1
vote
1
answer
133
views
Apache 2.4: owncloud in sub-directory outside of DocumentRoot
I am working on moving current setup of owncloud from sub-domain https://cloud.example.com to sub-directory https://example.com/cloud to make all my apps covered by one SSL certificate. The problem is ...
1
vote
1
answer
2k
views
nginx + fpm + subdirectory
I have an nginx config that looks like this:
location ^~ /movies {
alias /var/dp.cx/movies/current/public;
fastcgi_index index.php;
try_files $uri /movies/index.php;
location ~* \....
1
vote
2
answers
2k
views
Configure Azure AD Connect
I'm trying to set up an domain in Azure AD Connect on a Workgroup computer. The challenge that we have is, we have a dedicated domain controller for the purpose of Azure AD Connect and the other ...
1
vote
0
answers
4k
views
NGINX file server with symlinks
This is a bit of a beginner question, but I'm trying to make Nginx serve a static file server that contains symlinked folders. Eg, the root directory might contain directories A and B, which each ...
4
votes
3
answers
3k
views
Linux Directory Structure for non-root users
I am new to the world of Linux and am about to make a complete transition from Windows to Linux so I can really get into it. I understand that Linux has a hierarchical structure however am unclear ...
0
votes
0
answers
153
views
proftpd join multiple paths into single virtual filesystem for specified user
I've tryed configure proftpd for specified user, that join at least two directory paths as single filesystem tree, including chroot option (rootdir). Is it possible any way? Proftpd has support for ...
15
votes
4
answers
67k
views
Apache VirtualHost Proxy with a Subdirectory
Currently, we have an IIS server as our primary web server. We are implementing an Apache server in its place, but still need to have the IIS server accessible. Typically, this is a simple thing, ...
3
votes
2
answers
2k
views
nginx howto correct the path from a back-end server redirect response under a virtual directory
The following was my deployed servers:
client ------ nginx proxy(example.com) ------ back-end server(192.168.1.20)
The nginx proxy's external URL was configured under a virtual directory http://...
0
votes
0
answers
274
views
Nginx - Reverse proxy serving ScreenConnect does not prepend subdirectory
I am running an unsecured ScreenConnect web interface on a machine on my local network. I would like to serve it through port 443 using nginx's reverse proxy, and access it via:
https://<WAN.IP....
9
votes
7
answers
39k
views
Check to see if a directory exists remotely (shell script)
Is there a way to see if a directory exists on a remote server?
Perhaps there's a better way, but I'm writing an application deployment script, and I want to create a directory on a remote server if ...
35
votes
5
answers
48k
views
Where is a good permanent place to install custom Bash scripts?
I'm about to install Leiningen which is a useful Bash script for the Clojure programming language.
The problem is, I'm not sure where it is appropriate to put a executable script in the Linux system ...
17
votes
5
answers
17k
views
Difference between Azure tenant and directory
Are Azure "tenant" and "directory" different things, or different names for the same thing?
According to the documentation, a tenant is a container within Azure associated with a company or group of ...
1
vote
1
answer
566
views
Redirect to folder only if root from other site referrer
I have a redirect from root to subfolder. If user visits https://example.com it redirects to https://example.com/subfolder. But I want it not to redirect if referrer is my site, so user can reach root ...
9
votes
1
answer
7k
views
Directory inside or outside VirtualHosts?
Is there a difference between putting Directory tags inside or outside VirtualHosts? I found a configuration file that has several VirtualHosts all with the same Directory tag inside, and the same ...
1
vote
1
answer
3k
views
Active Directory Merge - Merging User accounts
I need to merge two active directories, OLD and NEW.
However, many users already exist in both OLD and NEW with the same userid.
I want to preserve the sid of Bill@new, while merging in the sid ...
0
votes
1
answer
8k
views
Where to find the website folder in ubuntu server?
So someone gave me the task to find where is the website code exist on ubuntu server
when I look at the the index.html file path it is
/var/www/example.com/html
but when I go to /var/www directory I ...
0
votes
1
answer
1k
views
Are folders counted as items in Sharepoint Document Libraries?
In Sharepoint on the All Site Content screen, it lists my SharePoint Document Library with a numeric row containing "Items".
Do these "Items" include "folders and docuemnts" or just "folders"?
1
vote
2
answers
1k
views
How do I restrict the Open/Save dialog in Windows to one folder?
I spend a significant amount of time helping non-techies use their PC's. I realized most of that time is spent trying to explain to them how the Windows folder hierarchy works, where the "open file" ...
1
vote
1
answer
703
views
NGINX getting an application in a subfolder to work with redirects
I've installed Mautic in a subfolder like: example.com/m
Most of Mautic is working fine with my configuration (admin panel, using Mautic etc.) but for some redirects in my subfolder, I get a 404:
...