Ubuntu Servers :: Possible To Assign Different User To VirtualHosts?
Mar 16, 2010
I am new with Linux but really be interested in it. I would like to ask that if it is possible to make each VirtualHost only controllable by a specific and different user? If so, how to?
View 3 Replies
ADVERTISEMENT
Mar 10, 2011
I am new to ubuntu and just installed the vsftpd service by this tutorial: [URL]. Now my question is how can I give users rights to one specific folder?
useradd username -d /home/folder/new
Thats the command id used but when I login to the ftp the user is able to see all other folders as well ..
View 5 Replies
View Related
May 12, 2010
I have 5 websites running in a reverse proxy environment.On main server I am getting this error
Code:
NameVirtualHost *:80 has no VirtualHosts
[Wed May 12 12:18:10 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[code]...
View 5 Replies
View Related
Sep 16, 2010
I'm a bit of a Nooob to Virtual hosting. On my internal network 192.168.1.x I have a dns server running bind9 My DNS / web server is 192.168.1.3 I have succeeded in getting [URL] to resolve and it goes to my web page in /var/www/ Now I want to get say [URL] to go to /var/www/music/
1. What's the best way to go about this?
2. Can I configure it using webmin or do I just do it the old fashioned way through a terminal?
3. I tried virtual hosts via the following method
Added to /etc/apache2/sites-available/default
NameVirtualHost 192.168.1.3:80
Then created
/etc/apache2/sites-available/music.7rocks.com
<VirtualHost 192.168.1.3:80>
ServerName music.7rocks.com
ServerAlias music.7rocks.com
Then
[Code]....
View 4 Replies
View Related
Feb 18, 2011
ls -al /guests
I want to be able to assign the group "readers" read access to guests/c1 but it says access denied. but it shows r-x acsess. i want to be able to control who has read access and not just give it to everybody.
View 2 Replies
View Related
Dec 24, 2009
i am using linux redHat 5 and fedora9 How can assgin disk space quota to particular user suppose i have 4 users
user1
user2
user3
user4
All four users have a each folder
/data/folder1
/data/folder2
/data/folder3
/data/folder4
i want to assign space limit/restriction of 100MB on each on folder.
View 3 Replies
View Related
Nov 27, 2010
I have installed a ssh server on a computer (Ubuntu 10.04). This computer will be reboot many times, so the IP address is going to change. As a result, I couldn't connect with an other computer on this server via ssh. That's why I search a solution: either I assign a static IP on my server computer or I heard that I could use a dns name. I don't know if the latter solution is good so I hope to have some precisions. Also, I tried to have a static IP by editing the file : /etc/network/interfaces but it doesn't work.
View 5 Replies
View Related
Jan 26, 2011
I am using CentOS 5.5 and I created few users (useradd john etc.) and now I want to assign privileges to this user on some directories and files in those directories. For example I want to give read privileges to directory "/documents" and all of files under that directory.
View 13 Replies
View Related
Sep 17, 2009
how to assign shutdown and reboot privileges to the user.please tell directory hierarchy privileges for /root,/bin./lib,/tmp,/var,/pro etc ...
And also i would like to give space quota to particular user and directory for users.
View 4 Replies
View Related
Mar 20, 2010
my Apache2 was running fine for a while. Bur yeserday when I tried to start it again after a couple of weeks of vacation, I got the message:
* Starting web server apache2 [Sat Mar 20 10:48:12 2010] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
[code]....
View 7 Replies
View Related
Jan 14, 2010
I was trying to assign the static IP address of my internet connection to my home server and managed to make a mess of it. I've configured the router to assign it the address every time but when I rebooted everything the server is cut off from the network completely (rather unfortunate with a headless server...). The only file I've edited on the server when trying to do this is /etc/network/interfaces, everything else network related is default. My intention in editing the file was to make the server accept the IP address assigned by the router since the router was already configured to assign the right one. I put in
Code: inet dhcp in the /etc/network/interfaces file, is that wrong? What is that line supposed to be?
View 9 Replies
View Related
Feb 17, 2009
Just Installed Fedora 10 on Dell PowerEdge 2950. Installation went fine. Problem is I cannot Assign a Ip address to eth0. Service "NetworkManager " dies on its own "ifconfig eth0 192168.0.8/24" works though.
View 6 Replies
View Related
Apr 4, 2010
I'm establishing a server that runs DHCP server, NAT gateway and VPN server. It have two physical interfaces, one for intranet and one for internet. The NAT gateway will give internet access for intranet. Another site will connect to this server by VPN. I need the server to assign a different subnet for that site other than the local site. Do anyone know how to config the DHCP server? Should I config the client classing, and how to do it?
View 3 Replies
View Related
Jan 4, 2009
Im running samba on fedora core 7, im abit new to the server part of fedora, i set up samba and it runs well, only issue i have now is resolving permissions( User Rights)i have a shared folder which has alot of files and many subfolders in it, the files and folders in this shared foldr were copied from our old Novell Server through samba, i need to assign permissions to this folder where by a defined usergroup can have full read and write permissions to all the files and folders and sub-folders in the shared folder. i tried doing it in GUI but i realized there were over 1000 subfolders.is there a command i can run in the Terminal to help me assign the permissions?
View 1 Replies
View Related
Jan 24, 2009
Is there a way to use dhcpd to assign vpn clients their IP and configuration?
I'd like to have dhcpd listen on br0 (already set as 10.0.0.1) so that devices conecting through eth1 and tap0 (should I be using tun?) will get the same address pool.
View 7 Replies
View Related
Jan 29, 2009
Does anyone know if you switch networks Where you have your servers hosted on a Non-DHCP Network, and you switch your IP addresses, then do you have to switch change/assign your new gateway address? I'm not sure if its manually assigned? How do you do it? Also what about nameserver resolving?
View 2 Replies
View Related
Apr 7, 2011
i had created domain but not getting domain in /var/qmail/user/assign file.also it error /home/vpopmail/bin/vdominfo abc.co.inInvalid domain name
View 2 Replies
View Related
May 19, 2011
I'm just trying to do simple name-based virtual hosting (different domains/content, same IP).
What I've done is uncomment the "NameVirtualHost *:80" line in listen.conf. Then I have one file "domain.conf" in vhosts.d/ with:
Code:
<VirtualHost *:80>
ServerName www.domain1.com
DocumentRoot /srv/www/htdocs/domain1
<Directory "/srv/www/htdocs/domain1">
[Code]....
View 9 Replies
View Related
Jun 6, 2010
I am using the virtualhosts feature of Apache web server to host multiple domains on a single web-server. Is it possible to have different settings for php for different domains?
For eg:- I have mydomain1.com and mydomain2.com hosted on the same server. I want php scripts of mydomain1.com to connect to database but prevent database access for scripts of mydomain2.com. There are many php functions that I want to restrict for mydomain2.com.
View 5 Replies
View Related
May 12, 2010
I have 5 websites running in a reverse proxy environment.On main server I am getting this error
Code:
NameVirtualHost *:80 has no VirtualHosts
[Wed May 12 12:18:10 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[code]...
View 11 Replies
View Related
Jun 2, 2011
I've been for a while trying to configure my apache to host 5 domains as virtualhosts in the same IP address, but seems that neither one makes it through... it always takes first one, because it is the default:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin xxxxxxx@xxxx.net
[code]....
As you can see I tried the ServerName with the http://, in quotes, without it...
View 11 Replies
View Related
Oct 29, 2010
Im trying to limit the diskspace users on the system may consume, and i found quotas (im a total linux noob). But when i try to set it, no matter what i set it to the maximus is 2 GB. Now... i need quite a lot more than that. One user should be able to use 1900 GB and the other 600 GB. How can i fix this? Im using ubuntu server 10.04.
View 9 Replies
View Related
Jun 30, 2010
I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).
Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.
I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.
View 1 Replies
View Related
Jan 7, 2011
I succesfully integrated apache2 and tomcat6 using Ubuntu 10.10 server. The deal is that I can't use different Virtualhosts mapped to different tomcat projects. All tomcat "projects" are in /var/lib/tomcat6/webapps/. I couldn't configure apache virtualhost to use a project different than ROOT (/var/lib/tomcat6/webapps/ROOT/). All HTTP requests are redirected to /var/lib/tomcat6/webapps/ROOT/.
[Code]...
View 5 Replies
View Related
Jul 8, 2010
I have googled around a bit but i keep getting different results. I want to add a new user to my FTP server. Im not entirely sure what ftp server im using. When i set up my server i used this site: http://net.tutsplus.com/tutorials/ph...rver-for-free/ . It seems when i set up the server originally my admin username seems to be added to the ftp server as well. Now i want to have a new user on my server. That user can ssh into the server but when they use filezilla to ftp they can only download in it and not upload. So im assuming that they need permissions somewhere which im assuming is somehow adding them to the ftp server. I am brand new to Ubuntu and Ubuntu server.
View 8 Replies
View Related
Apr 9, 2011
I'm trying to jail a sftp user. All I want is for my daughter-in-law to be able to download pictures of my grandson on his step-uncle's motorcycle. But I don't want her browsing around. She's not a techie, but she's smart enough to catch on how WinSCP is looking at my files. I've set up the jail using jk_init, adding ssh, sftp, bash, netutils, basicshell, jk_lsh.
The physical root of the jail is owned by root, as are all the binaries loaded by the jk_init. The user's home directory is owned recursively by the user and is writable only by the owner. The passwd and group files are in the jailed /etc and populated by the user's lines. Shell is bash, and bash is there too. The error message must be coming from some other problem that's not notifying, but what?
View 4 Replies
View Related
Feb 4, 2010
I'm planning to take a custom-built machine presently running Windows Home Server and convert it to a Ubuntu server to support the same backup functionality, but also allow me to support other server functions as well (WHS is great for backups and as a file server, but that's about it). The machine has two 1TB 7200 RPM drives. As the primary use for the machine is backups of files stored on the server as well as on the local PCs, I'd like to configure the box to support redundancy across both drives - So if one fails, I still have my data. What would be the recommended configuration of the drives to support this? I plan on using Bacula for the backups (clients and server).
I'll assume the disk format won't be NTFS.If one of the drives fail and its the boot drive, how easy is it to recover the data from the other drive? Just want to make sure there isn't some form of security that would prevent me from reading the data.
I'm new to Linux with only a bit of Unix experience, but I figure I have to start somewhere (and I have a bit of technical expertise, just with the Windows platform) This will also let me start playing with the LAMP stack.
View 5 Replies
View Related
Feb 12, 2010
Apache by defaults points to /var/www/eachdomain. I need to be able to give users ftp access to /var/www/specific domains.
It seems that if I change the owner of /var/www/specificdomains/ to the user in question, then www:data no longer owns the directory and Apache starts to have issues..
What's the best way to set this such that I can allow users to FTP into specific directories, and still have www:data own them? I'm currently using vsftp, but that can easily change.
View 6 Replies
View Related
Mar 23, 2010
I'm attempting to give a few buddies encrypted storage space through sftp using truecrypt.I have it worked out to the point where the truecrypt volume is automatically mounted when the user logs on, and dismounted when they log off.I would like to restrict each person to their individual home folders. This way, I can control exactly how much space each user is able to use (through the size of the truecrypt volume), while maintaining security through the network due to using SFTP.
I've been looking around, and the only thing I can see is restricting a large group of users to a single directory, this won't work, I need each person to be locked down to their personal home directory.My end goal is to have these volumes "mountable" in Windows through the use of Windows network drives (on a wide network, not through samba on local), or by using expandrive or a similar program. how I can lock these users to their respective home folders?
View 9 Replies
View Related
Apr 4, 2010
When we run php scripts that move/rename/etc files, the script does not have access to write to files in our web root. Changing permissions to 777 fixes the problem, but obviously this is not an option..I've been reading up about suexec, phpsuexec, and suphp, but we can't seem to figure any of this out.In phpinfo(),the Server API reads: Server API Apache 2.0 Handlerbut on another server (where everything works, it reads : Server API CGI/FastCGIIs there ANY way to achieve this?
View 2 Replies
View Related