The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
47 views

Apache 2.2.15: Allow from CN require auth from Internet

How do I configure httpd.conf for directory /something to grant access to everybody from 10.0.0.0/8 withOUT password AND to require everybody else coming from whereever to basic authenticate The ...
4
votes
7answers
14k views

How do you handle “CMD does not support UNC paths as current directories”?

I am attempting to change directories to a file server such as: cd \\someServer\\someStuff\ However, I get the following error: CMD does not support UNC paths as current directories What ...
0
votes
1answer
247 views

How can Midnight Commander be used to change to a different directory?

Switching and moving around directories from the command line is awkward in the shell, and I want to use an utility like Midnight Commander to move between directories. In effect I want to use MC to ...
0
votes
1answer
348 views

Configure Apache Mass Virtual Hosts to different directories

Our server is running Apache on port 9000 (because IIS is at 80) and we have the following configuration (vhosts.conf) to access our sites: NameVirtualHost *:9000 UseCanonicalName Off ...
2
votes
2answers
207 views

Add a second DNS server to a windows domain

I have a win 2008 r2 AD server that acts as the primary DNS for all clients on the network. I'm having some issues with the response times when resolving external domains and would like to add another ...
2
votes
1answer
180 views

Alias if directory doesn't exist

I have a bunch of clients that have different site designs but all run on the same backend CMS. They all share a common admin theme which is located in /home/public/skins/admin - which each client has ...
2
votes
2answers
11k views

Apache2: How do I restrict access to a directory, but allow access to one file within it?

I've inherited a poorly designed web app, which has a certain file that needs to be publicly accessible, but that file is inside a directory which should not. In other words, I need a way to block ...
0
votes
2answers
52 views

Default path when user logs in

How can I put a user in a default directory when the logs in via SSH on Ubuntu? Currently, users are in ~ but I want them in something like /path/to/something. How is this configured? The machine ...
1
vote
1answer
443 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 ...
1
vote
1answer
732 views

Apache2 NTLM Authentication on specific URL

I have a problem. I'm using Legrandin's NTLM Authentication Module PyAuthenNTLM2 with my Apache2 server. It really works well and it was easy to install. I recommend it to everybody. The ...
-2
votes
1answer
202 views

On Unix on could I get a listing of all mp3 files inside a directory containing other directories with their full path?

Someone said to me use the find command but I'm not exactly sure how to do it. Basically I need this: suppose I have a folder called dir1 and it contains three sub-directories (dir2, dir3 and dir4 ...
1
vote
1answer
442 views

Allow access to one directory when all others require authorisation

I have an Apache config that restricts access to to a website, using the following code - <Directory /var/www/html/website/test/> AuthName "Dyne Drewett Test Site" AuthType ...
1
vote
1answer
177 views

Replacing directories that are subversion-monitored

We're trying to update an installed software which we have under control by subversion. The update instructions for the software require replacing several directories that have .svn directories in ...
1
vote
2answers
1k views

389 directory server error “Operation requires a secure connection”

I have installed a directory server but I can't change the password of user. I have used this command: [root@xxxx]# ldappasswd -x -D "cn=directory manager" -W "uid=xxxxx,ou=xxxx,dc=xxx,dc=xx" ...
1
vote
2answers
686 views

Plesk directory structure problems

I have an entire website with the following directory structure: /example.com /html (public) /css /js index.php /lib session.php other_lib_files.php ...
2
votes
4answers
6k views

Windows7 IIS7: can't turn off read-only flag for InetPub\wwwroot. Can't edit website files!

I finally got PHP running on Windows 7 IIS7 but now for the life of me can't edit files in wwwroot because my editor keeps saying "You don't have permission to save to this location... save in Pete ...
0
votes
1answer
373 views

Dreamweaver not recognizing symbolic link as directory

I have this directory drwxrwxr-x 6 awdfiles pasgroup 4096 Jan 31 17:20 awdfiles Which I want to access via another FTP connection. The user is part of the pasgroup ...
0
votes
4answers
115 views

Windows server email issue

I am not very good with Windows stuff, spend most of my life with Cisco routers, I have situation where i am the only one implementing Active Directory on small network of 20 computers. The staff use ...
3
votes
3answers
253 views

Prevent 'cd' remembering symbolic links traversed

Say you have directory ~/mytool that softlinks to /usr/local/mytool. Then cd mytool leaves your current directory as ~/mytool, which may cause scripts to behave incorrectly. Is there a way to avoid ...
1
vote
1answer
655 views

How to rewrite URI from root if file exists in folder?

I have a public folder in my document root. I would like to redirect all the files that are not present in document root, but are present in the public folder. (So if the same file is in two places, ...
2
votes
1answer
2k views

nginx autoindex receiving 403 Forbidden

I'm having trouble with nginx and autoindex. Even though I've put it in the site-host, it's still throwing "403 -Forbidden at me" location /pics { autoindex on; ...
1
vote
1answer
65 views

Starting Apache as a NON-Root User on Localhost

I want to start an Apache 2 server on localhost:8080 on an as-needed basis without superuser permissions, with the root directory for web content being /home/user/example/web/directory. I don't want ...
1
vote
0answers
30 views

Is it possible to call user both by number and by name in Freeswitch?

How should I configure freeswitch directory entry so that it will be possible to call this user both by numeric number and by textual username?
2
votes
2answers
568 views

LSASS - Directory Services could not start - 0xc000006a

LSASS - Directory Services could not start - 0xc000006a This is the error message I am getting after restoring an old registry backup. I read somewhere that this has to do with the backup being more ...
0
votes
2answers
367 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 ...
2
votes
1answer
1k views

Cannot read/write FTP directory vsftpd on centos 6.0 (empty folder)

I have Centos 6.0 and installed vsftp with YUM, I added a user with Webmin panel, set its home dir to "/var/www/html" and its shell to "/bin/sh", user id is 500, user group is same as name: ...
1
vote
1answer
120 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 ...
4
votes
2answers
173 views

How to compact large directories

Is there a way to compact a very large directory under EXT2/EXT3 without simply remaking the directory? I recall that perlfunc cautions that the OS implementations of seekdir and telldir run the risk ...
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
3answers
282 views

In Ubuntu, how can I give two groups of users root power except for access to one folder?

I just created a Ubuntu development server and I would like to work with two teams on it. I want people from these teams to do anything they want, but I don't want them to be able to see the files ...
2
votes
4answers
312 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
916 views

How do I enable W3C extended logging on Apache (LAMP or XAMPP)?

How can I enable W3C extended log format on LAMP and where will the default log directory be located (and named what)? (or XAMPP)
0
votes
1answer
247 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
190 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
79 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
155 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
119 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 ...
8
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
455 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 ...
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
514 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 ...
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
194 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
99 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
42 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 ...
0
votes
2answers
536 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
2answers
294 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, ...
3
votes
2answers
166 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 ...
0
votes
1answer
127 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 ...