The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
273 views

.htaccess directory nightmare

I'm on a shell, and my web folder is located at /home/w/waterfox/public_html. In there, I have a directory called irclogs, which I'm trying to password-protect. It is chmodded to 755. Here is the ...
0
votes
1answer
321 views

where is the php folder located in macosx?

I'm needing to modify my php config on my mac but for the life of me I can't find the files! Can anyone help me?
7
votes
7answers
1k views

Different files of two directories

There are two directories I'd like to compare. I tried diff but it includes the changes inside the files. All I want is something like this file a is just in /A file b is missing in /A file c ...
1
vote
1answer
1k views

Used recursive chown on the root directory

Im gonna need some help restoring my ssh settings as i screwed everything up by calling this command: chown -R user / At the moment im not able to access the site through ssh/ftp since the ...
4
votes
4answers
8k views

How to minimize Windows Server 2008 R2 size?

Is there a guide somewhere on how to minimize the Windows Server 2008 R2 installation folder? I am talking specifically about all the features and roles that come with the Windows Server 2008 R2 ...
13
votes
4answers
13k views

Where is a good permanent place to install custom bash scripts?

I'm about to install "leiningen" which is a bash script for the clojure programming language with a lot of usefulness... ...but I'm not sure where it is appropriate to -put- a executable script in ...
1
vote
2answers
2k views

Adminstrator receives PermissionDenied when issuing get-childitem in PowerShell

I am trying to backup a drive from a laptop that is defunct. This drive was pulled from the machine and mounted in an external enclosure and connected to a desktop via USB. Laptop that the drive was ...
6
votes
4answers
237 views

Frequently accessed files and I/O usage

I'm curious, from a performance standpoint, is there an advantage in storing all files in one directory versus having each file in a separate directory? I'm not concerned about organization. Also, ...
0
votes
2answers
1k views

Hosts file entry directed to a directory on localhost

I have a directory setup with a nice error message at http://localhost/blocked/. I'd like to direct entries in my hosts relating to sites I've blocked to that instead of just 127.0.0.1. ...
2
votes
3answers
2k views

Unix Linux directory compare

I have a known good directory structure that I'd like to compare owner/group and permissions against another server and flag any files/folders that need to be changed. Since I wont have access to both ...
1
vote
4answers
112 views

How can I see the permissions of a directory with `ls`?

I want to see similar output like: ls -l /etc/php5/php.ini Which would give me: -rw-r--r-- 1 root root 40344 Jun 14 14:33 /etc/php5/php.ini Except the file in question is a directory, and doing ...
0
votes
1answer
131 views

IIS / Virtual Directory authentication

I have an IIS(v6)/Windows 2003/.Net 3.5(app code, libraries etc.) server hosting a website at www.mywebsite.com mapped to E:\Inetpub\wwwroot\mywebsite, we also have a virtual directory (VirtDir) ...
1
vote
2answers
176 views

Same index for all (sub-)directories?

I was wondering if it was possible to write some .htaccess page that makes the server use an index.php file in a SINGLE directory as the index file for every directory/sub-directory on my server, ...
4
votes
2answers
1k views

How to create union of two directories?

In case of unix/linux, is there a way to create union of two directories without copying or linking manually everything to a single directory?
0
votes
2answers
2k views

How to add another application to apache?

I was following the Zabbix installation tutorial for Ubuntu and it requested that I added a file /etc/apache2/sites-enabled/000-default containing Alias /zabbix /home/zabbix/public_html/ ...
0
votes
1answer
267 views

Webserver directory index: index.xml?

I am making my first RSS-Feed, and I want to host it like this: www.example.com/rss/ I tried to name the xml-file "index.xml" and place it inside the directory, however, when I type ...
4
votes
1answer
480 views

Delete a directory with pipe (|) in its name?

Without booting to Linux, how do you delete a directory that was created in Linux on an NTFS partition that contains a pipe in the file name? For example: ...
3
votes
1answer
415 views

How can I sort ls -l /dev by type and major and minor device number?

How can I sort the /dev directory by type and major and minor device number when doing ls -l? The best way I've found so far is: ls -l /dev | sort -k 1.1,1.2 -k 5n -k 6n | less Is there a better ...
0
votes
2answers
141 views

how to add contact to DL

any one can help me to add a contact to Distributin list in Active directory.
5
votes
1answer
5k views

How to disable apache logging when accessing certain directories?

How do I get apache to prevent http requests from being logged on a directory basis? I want to do something alike <IfModule mod_userdir.c> UserDir public_html <Directory ...
0
votes
2answers
2k views

Running two independent tomcats on one machine, instead of one tomcat with multiple instances

due to operational need following is the scenario. Two applications running on one machine, operating system is Windows 2003 standard server edition. Application A comes packaged with tomcat ...
2
votes
2answers
1k views

Where is index.html for IIS7?

I have enabled IIS7 in Windows 7. It works fine. I can see the default page from my local computer as well as from remote computer connected to the Internet. Now I would like to do something. I would ...
11
votes
2answers
5k 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?
0
votes
1answer
326 views

Determine group of unreadable unix/linux directory

dcoles1@shovel:/ $ cd /DriveXT dcoles1@shovel:/DriveXT $ ls . unreadable dcoles1@shovel:/DriveXT $ cd /DriveXT/MML/ dcoles1@shovel:/DriveXT/MML $ ls . unreadable dcoles1@shovel:/DriveXT/MML $ ...
0
votes
2answers
378 views

Hard Link for Directories in linux

Hai, How can i create hard link for my directories ? When i use to make link from /var to /home it shows error on "Invalid cross-device link", How can i over come it ?
12
votes
4answers
26k views
0
votes
4answers
947 views

Any decent open source link/directory managers out there?

I maintain a site with a crusty old version of "Links" by Gossamer Threads. It's written in perl, gets 99.99% of its submissions from bots, and is just plain out-dated. Now, I realize that Gossamer ...
2
votes
2answers
820 views

Web front-end for directory servers (LDAP) similar to phpMySQLAdmin?

Is there some web front-end to administer LDAP servers, in a similar way as you can use phpMySQLAdmin to administer DBs?
1
vote
1answer
358 views

Get an IIS 6 ISAPI dll to ignore virtual directories

I have an IIS 6 website with an ISAPI dll to run an application. The application and ISAPI filter works well. I also have a couple of virtual directories set up to handle things like images without ...
1
vote
2answers
1k views

Fast directory delete on AIX

I have an extremely large directory (containing millions of files summing up to 150 GB) which I want to delete. Is there a faster method than using rm -rf which takes ages to complete on this ...
2
votes
1answer
375 views

Limit SAMBA directory listing

Maybe this isn't possible, but I thought I'd ask anyway. I have a samba share that uses ACLs. The default group can see everything inside the share and has read/write permissions. I want to create ...
0
votes
1answer
90 views

Apache vhosts configuration for non-persistent folders

OK, the title may be a bit confuse. I have a TrueCrypt container that gets mounted as a new drive X: on my Windows machine. Now I want my local testing Apache to deliver files from there via ...
18
votes
10answers
14k views

Linux - What directories should I exclude when backing up a server?

I'm backing up a linux server and storing it on some other server. I started off with a simple rsync -aPh --del server.example.com:/ /mnt/backup Then someone pointed out that I shouldn't back up ...
2
votes
2answers
218 views

Linux directory permission problem

Why can't I access a directory that I should have access to by group? My user belongs to the group www-data, and the directory has permissions granted for this group. But I cannot access it. ...
7
votes
5answers
5k views

Can't access windows share when in security group assigned to share

I'm a bit stumpped on this one. I created a security group in AD called "special data users" and add myself to it. I then created a share on a server and give that AD security group full access to ...
1
vote
2answers
247 views

cd to a directory when its path is entered as a command (instead of “foo is a directory” error)

I hate when bash gives me "duh!" kind of error: foo$ ./bar -bash: ./bar: is a directory I used to love AmigaOS shell in which "execution" of a directory simply meant setting it as the current ...
10
votes
5answers
284 views

How do I change to the directory I just moved that file to?

So lets assume I've just done: mv ./myfile /to/some/other/place/ And I now decide I want to follow the file, and go into that directory. Whilst I could head for the mouse, select the text, type ...
7
votes
3answers
5k views

Un-tar a specific directory inside of a tar

I have the Wordpress tar, latest.tar.gz. Within it is the following structure /wordpress/dirtories/files When I do the following command I would prefer if I could have it unpack starting at ...
0
votes
4answers
249 views

Windows Server Folder Replication

I have two servers using MS NLB for IIS and this is working great. I have a D:\Websites\ directory on both servers that contain the html, css, aspx, and images etc. I would like to have the ...
2
votes
1answer
193 views

linux: directory created with Access: (0000/d---------)

On a Linux (ubuntu) machine, an automated script running as a normal user is creating a subdirectory under its home directory. For some reason, the directory is created with Access: (0000/d---------). ...
6
votes
3answers
3k views

Fast way of knowing real directory size on linux/bsd

What is the fastest way of computing real directory size? I somehow catch myself needing that a lot. Simply doing: # du -hs /dir Is too slow. Is there any service I could run which would ...
3
votes
9answers
2k views

Storing files in a directory… are there limits?

I am using CentOS 5 with Plesk 9 (64-bit), I am running a site where users will be uploading pictures. With a 64 bit os, are there any limits to how many files I can store? All I care about is ...
0
votes
1answer
601 views

how to add a virtual directory on a remote machine IIS 6

We have a build script to add a Virtual Directory to an existing website running on the same server. it works fine, is it possible to add a virtual directory to a remote machine? which the user has ...