The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
81 views

active directory windows 2008 domain logon

I have a system that is configured to logon to a domain say abc.net. I dont have admin access to this system. The AD server is dead. If i can create an active directory server on the same network as ...
2
votes
4answers
328 views

50,000 file in one directory, what is my best option?

I'm forced to have this directory structure /var/www/$WEBSITE/$DIR1/$DIR2/$FILES for each of those $FILES, there is approx 50,000 XHTML pages. I'm running Cherokee, which has new front-end caching ...
0
votes
1answer
266 views

Directory structure on Linux EC2

First, I'm a complete newbie to Linux and Tomcat. I'm not technical either. I get my stuff done by feeling my way around the dark until things work. I do read a lot though. I have a dev machine ...
0
votes
2answers
201 views

How do you reallocate hard drive space between directories in Unix FreeBSD?

I was wondering what it takes to reallocate hard drive space between root directories in Unix FreeBSD? For example, take away space from the /usr directory and add to the /dev. This question was ...
3
votes
1answer
82 views

How To Inherit Parent Directories Group

I have a directory /applications which is owned by root and group git. The problem is when I create a new directory inside /applications, its owned by root and group root, not group git. How do I ...
1
vote
1answer
167 views

update tar archive in the relative directory

when I want to create a tar archive in a relative path, I can do this: tar cf archiveName.tar -C relative/path someDirectory but when I want to update the archive, this tar uf archiveName.tar -C ...
1
vote
2answers
124 views

Directory in Linux(ext3) with only 2 files occupies 32000 blocks(16Mbytes)

IIRC my Operating Systems classes, the size of a directory in Linux is given by the number of files it contains([wikipedia link])1 So, why a directory with only 2 files occupies 32000 blocks? # stat ...
9
votes
2answers
2k views

Where to put www directory on Ubuntu?

I'm a bit scared to ask this because I got so many negative votes for simply asking a question last time, but here goes; Where in the Linux (Ubuntu) directory structure is it 'normal' to put public ...
0
votes
1answer
489 views

Returning first match only with OpenLDAP slapd-meta backend?

I have OpenLDAP configured to act as a metadirectory in front of three different backends: database meta uri "ldap://ldap1.example.com/ou=domain1,o=combined" uri ...
1
vote
3answers
586 views

How to synchronize local directory with another local directory on another partition or disk

I would like to synchronize my local directory content with another local directory on another partition or disk (or e.g. a pendrive). I can synchronize my local directory content with a remote one ...
1
vote
4answers
71 views

Directory name for non-generic Proprietary stuff

Is there a common or standard directory name for the company-specific stuff that exists in a server? This would include any crons, scripts, webserver docroots, programs, non-database storage areas, ...
2
votes
1answer
1k views

Apache proxypass trailing slash / directory issue

I have a legacy site for a charity running on an old Apache 1.3 instance, behind Apache 2 running proxypass. When a request comes to example.com, Apache 2 sends it internally to localhost:8080 which ...
1
vote
3answers
222 views

/var and /home folders clogged up on cPanel (Linux)

Recently the /var and /home folders have been clogging up on my server and I received a 'critical error' email saying that the /home folder was 100% full. I managed to fix it using the LVExtend ...
0
votes
2answers
100 views

Domain authentication used for kerberos based authentication of users on my server

Suppose a user process has authenticated itself against domain's directory server via kerberos, and then attempts opens a network socket to my server application. My server application has a ...
1
vote
1answer
43 views

common directory for all hosts in a shared hosting

I have many many many domains in a single machine. (redhat apache php mysql) and all have own admin pages. but when I update admin code it is very difficult to update all folders. then ı decided to ...
1
vote
2answers
302 views

linux: share directory between different users

i need to have this directory, which is created under FTP User1: /home/User1/public_html/jobs_html readable by a different FTP user, call them User2 ... ie, when logged in thru SSH under User2, ...
0
votes
2answers
380 views

IIS 7 404 redirect for virtual directories

we are in the middle of setting up a website and one of the developers has asked me a question im a little but stuck on. basically we have a website that a user can visit and create there own ...
3
votes
2answers
169 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 ...
-1
votes
1answer
58 views

A protected by password directory started to redirect to the home!

Everything was working perfectly a few hours ago, but now, when I try to access one protected directory in one of my websites hosted on my dedicated server that runs Cent OS and apache, it just ...
1
vote
2answers
241 views

Move content of one folder to another

I Have a directory say abc in var/www/ on my server Now i want to move all the content of abc/ directory to var/www/ What will the linux command for this. New bie in linux
2
votes
1answer
343 views

Storing user profile in a corporate environment. Where, how and why?

I'm a programmer and don't know much about Active Directory, LDAP, etc. What I'm trying to build is some kind of profile web page for each employee where I work. Something similar to this : ...
3
votes
2answers
74 views

Should http and https requests access the same files

Is it ok to have http and https requests point to the same directory such as var/www/? It seems like it would be alright since when you're say authenticating a user you can just make sure to call ...
4
votes
2answers
697 views

Account management tools supporting self-service registration and email verification?

I work in a university environment that has in the past offered services almost exclusively to university affiliates who already have "formal" accounts in central user database. We are increasingly ...
1
vote
1answer
244 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 ...
5
votes
3answers
121 views

directories with two one dot (.) entries

I'm trying to clean up my lost and found, and I've managed to remove most things, but I'm left with "almost" empty directories, like: lost+found/#14042862: total 1324 dr---wx--- 2 76040 43010 ...
4
votes
2answers
827 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
2answers
547 views

Debian add user permission

I'm giving my friend a host on my dedicated server. I created a new user for him: Debian server. adduser friend Adding user `friend' ... Adding new group `friend' (1000) ... Adding new user ...
1
vote
1answer
337 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 ...
1
vote
1answer
607 views

“The local device name is already in use” error when connecting to active directory shared folders

We have a Windows Server 2003 running active directory - the users login with their AD accounts from their PCs. We have setup a file server where each AD user has a shared network folder hosted on the ...
3
votes
6answers
2k views

Free tool/script for directory size calculation

Does anyone know of a free command-line tool or script that calculates the size of a directory including all subdirectories? It needs to be compatible with Windows 7, work with hard links and ...
1
vote
3answers
2k views

Apache will not display index in web root, subfolders are fine

I have an Apache 2.2.3 server running on CentOS 5.5. In the root of my web directory, there is an index.html file. Going to something like, say, www.exampledomain.egg/index.html works, but going to ...
1
vote
1answer
122 views

PHP scripts run only in webroot directory,and return 500 error in other dirs

I have uploaded a folder with php scripts and they run only when they are in the webroot directory,Everytime i try to execute php script in some internal dir,i get internal server error,even if it ...
2
votes
2answers
2k views

How do I get the last part of directory from a command line

How do I store the last part of directory in a variable? For example I have the following path: A\B\C\D, I want to store D in variable like file_name=D.
4
votes
3answers
3k 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 ...
0
votes
1answer
91 views

How to set a PHP ini config setting for a specific (virtual) URL path in the apache conf?

I want to set a specific upload_max_filesize setting for a specific URL on my webserver. The URL path is not a real path since it is a apache rewritten seo friendly path. This does seems not to ...
0
votes
1answer
35 views

short script to read and create matching directories

I need to do a z:\music\: dir *flac* to get a listing of directories... (they are named Artist - Album [flac]) and from that list of directors, create new matching directories, but replace the ...
0
votes
2answers
1k 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
2answers
2k views

can anyone tell me how to create a directory in freenas /mnt/test for example [closed]

can anyone tell me how to create a directory in freenas /mnt/test for example
0
votes
1answer
138 views

VPS multiple sites help

I have a VPS which has a single website associated with a single IP, This website is in wordpress and it is directly placed or installed into the /html directory, which means inside /www/html/ my ...
2
votes
2answers
79 views

delete dirs in a specified period of time

I have a list of +30.000 directory and I have to delete all the directories and their content from 2005 to 2006, via terminal. Thanks for help
4
votes
3answers
2k views

On linux, what does it mean when a directory has size 0 instead of 4096?

Here's a strange thing I haven't seen before -- a directory whose size is reported by ls as 0 instead of 4096, and I can't create any files within it. # ls -ld lib home drwxr-xr-x. 2 root root 0 ...
2
votes
2answers
1k views

PuTTY pscp directory listing - can you specify a different file date/time format?

I'm using pscp.exe from PuTTY with the -ls option to get a directory listing via STDOUT to a perl script. The output I get is this: Listing directory /path/to/my/directory drwxr-sr-x 2 234 ...
2
votes
1answer
2k views

Apache configuration problem with <Directory> and <Location>

I'm stuck with a pretty nasty problem. I have a staging system here where only our customers and our company should have access to. This is done using the following configuration: <Directory ...
1
vote
3answers
679 views

Deleting all folders older than a specified date, except some of them

i had to do a script job in bash to delete all directory in a path which are older than a specified date except some of them. i know the name of the directories which shouldn't be deleted... Can you ...
0
votes
1answer
130 views

How to get file directory trough .htaccess by using `RewriteRule ^(.*)$ ?id=$1 [L,QSA]`?

How to get file directory trough .htaccess by using RewriteRule ^(.*)$ ?id=$1 [L,QSA]? If .htaccess is located in http://localhost/some/dir/.htaccess and I'm opening ...
1
vote
1answer
557 views

Status of replication support in ApacheDS?

The features page indicates they're expecting to support multi-master replication "soon". Does it have any basic master-slave replication yet or does it currently not support any form of replication? ...
3
votes
4answers
341 views

optimal folder structure for storing 100k files on a USB drive

I need to store 100k files (around 40GB) in a USB drive. Each file has a unique int id (e.g 45000). Option one is to put all files in a single folder: root/ root/1.pdf root/2.pdf root/3.pdf ... ...
3
votes
3answers
113 views

Linux directory conventions for custom service

I'm writing a custom application that will be run as a service/daemon. According to convention, the binaries for it should be in /opt/appname. However, where do I put files such as: Config files ...
0
votes
1answer
158 views

How to set the DirectoryIndex to <foldername>.html in Apache?

I'm running Apache and I'm getting really tired of editing hundreds of files which are all named index.html. What I'd like is something like this: /root/foo DirectoryIndex: foo.html /root/bar ...
1
vote
1answer
449 views

What are the maximum number of files/directories allowed per directory in common Linux FS?

It is known that ext2/ext3 FS have a rather low limit of about 32k files/directories per directory. It looks like ReiserFS is limited in practice by the r5 hash function which allows about 1 200 000 ...