CentOS 5 :: VHOSTS Not Resolving To The Correct Folder Location
Mar 30, 2009
having a bit of trouble getting domains to resolve to their own folder properly on my new server.
this is a plesk/centos server that is pretty much out of the box.
Problem I have is that all the domain names I add to Plesk, are all pulling files from /var/www/html . All 5 domains Ive added each got their own /var/www/vhosts/domain.com/* folders created ...
Is there something I am missing in order to have the server grab files from each domains respective folder?
What I noticed was that if I edit /etc/httpd/conf/httpd.conf and add the virtualhost lines to it, then the one domain name resolves properly.
i replaced my domain with 'mydomain.com'
<VirtualHost *>
ServerAdmin youremail@yoursite.com
DocumentRoot /var/www/vhosts/mydomain.com/httpdocs/
ServerAlias mydomain.com *.mydomain.com
</virtualHost>
View 1 Replies
ADVERTISEMENT
Oct 29, 2010
I am using Centos 5. I got one error unexpectedly after some configuration for rsync and folder settings. The error i am getting is "Serve Authorization directory (daemon/ServAuthDir) is set to /var/gdm but does not exist. Please correct the configuration and restart GDM." after rebooting.
I tried to resolve the issue by setting permission for folder /var/gdm to 755. but the problem is still not resolved.
View 1 Replies
View Related
Jun 26, 2010
I am located in Calcutta in India, but when I see my location through Geotool, it tells me that I am located in Mumbai! I have tried many other services but all of them show my location as Mumbai. I have blurred the IP and part of the hostname containing the IP.
View 5 Replies
View Related
Dec 31, 2009
I just installed CentOS and I tried updating software. Unfortunately it hangs at Resolving dependencies for updates.
View 2 Replies
View Related
Jun 4, 2010
Trying to install Google Chrome from the Google repo I get the following error -Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package google-chrome-stable.i386 0:5.0.375.55-47796 set to be updated --> Processing Dependency: lsb >= 3.2 for package: google-chrome-stable --> Finished Dependency Resolution google-chrome-stable-5.0.375.55-47796.i386 from google has depsolving problems --> Missing Dependency: lsb >= 3.2 is needed by package google-chrome-stable-5.0.375.55-47796.i386 (google)
View 5 Replies
View Related
Aug 8, 2010
If I download a .deb file then when I run dpkg all files install in the correct directories.But with a tar.bz2 file when I run tar xvjf it installs in its current directory. How can I make a tar.bz2 file install into the appropriate directory?
View 7 Replies
View Related
Jul 3, 2010
My downloads are navigating to my home folder but not being deposited into the download folder as you can see by the screen shot . I don't know how to configure the correct path to the folder
View 2 Replies
View Related
Feb 23, 2010
I mistakenly moved the /home/user/Desktop file to another location so now when my desktop starts it used the entire contents of my /home/user/ directory (except for the hidden contents) to create icons all over my desktop.
I have restored the Desktop folder to the correct location but it ignores it now and continues to show every file under /home/user as an icon.
How do I reset it to point to the original Desktop folder?
(Using 64-bit Ubuntu)
View 4 Replies
View Related
Sep 1, 2011
I'm looking for a script or a bittorrent client which is able to move a file after downloading and placing it in a specific folder depending on the file type. E.g. moving a newly downloaded movie to "Videos" and an ISO-file to "Files".
I feel as if i have used a client with this functionality before but can't remember the name.
Since I at the moment use Transmission as my bittorrent client a script would also work since Transmission can run it after finishing the download.
View 7 Replies
View Related
Jul 10, 2011
I downloaded the bin file, and installed it but I haven't realized that I made the folder in the current directory. I would like to install in /usr/java.
Can I now just copy paste it there. Or I need to re-install to desired location I installed JRE , is that ok or I need to install sdk
View 1 Replies
View Related
May 18, 2010
Nautilus : Location is not a folder
View 1 Replies
View Related
Mar 21, 2011
i want to know the location of firefox cache folder..when we watch any video on ..... or any sites firefox buffers the whole video in its cache memory..so i want to copy that whole video from that cache folder directly so that we dont need any third party add-ons to download videos..for that i want to know the exact location of that cache memory folder of firefox browser in linux
View 14 Replies
View Related
Mar 4, 2010
I just upgraded to Thunderbird 3.0.3 and want to locate the folder that contains my email.In TB 3.0.1 I used to backup my default folder which was something like Wood.default.Do you know where TB 3.0.3 stores the default email folders and conents?
View 2 Replies
View Related
Jul 11, 2010
I was just wondering , when you create a new user , where are the files that make it ? , like the "default" home folder?
View 7 Replies
View Related
Aug 17, 2010
As a precaution to protect my home folder contents when I reninstall ubuntu if need arises I intend to change my home folder location to a mounted ntfs partition in my HDD. How can I do it the GUI way? Like in windows the "My Documents" location can be changed by going to "My Document" properties and entering the new location.
View 2 Replies
View Related
Feb 21, 2011
suppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt
How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt
Can 'cp' search for all file and copy them in another folder?
View 2 Replies
View Related
Jun 1, 2011
I'm setting up a svn server and would like users to share home dir. One problem is how to get sshd to identify the correct rsa key for the different users that shares the same .ssh folder. Will sshd even look for the key in a folder that isn't owned by the user trying to login?
[code]...
View 3 Replies
View Related
Nov 3, 2010
How to move hidden folder from /home to another location - on another partition? Is it possible? I'd like to move some folders for example ./thunderbird or so that I wouldn't need to make a backup. Or at least is it possible that program can right files to two folders, or that everything from /home./thunderbird would copy automatically to ./thunderbird on another partition every time there is a change? Is it possible to write a script or something? I use luckybackup but I would like to be able to forget about backups and make script or program to do it for me.
View 9 Replies
View Related
May 27, 2010
question to any experienced X11 dev/user: is there any way to reliably find the location of the X11 app-defaults folder on any distribution? I.e. ubuntu (hence guess also debian) uses
/usr/lib/X11/app-defaultswhile fedora/redhat use/usr/share/X11/app-defaults
View 1 Replies
View Related
May 17, 2010
I want to copy location of every .avi , .jpg file present in a folder or in subfolder present in a direcotry and save in a textfile how to doex : /home/username/Desktop/bookofeli/video/book.aviit should give full locaiton of path how to do
View 2 Replies
View Related
Dec 1, 2010
I've been looking into libtrash to give me the ability to recover files that users mistakenly delete from Samba/Netatalk/ProFTPD shares.But I have some questions about getting a specific libtrash configuration.We have a RAID6 shared files partition and all our users have full read and write access to /mnt/raid6/shared through Samba/Netatalk/ ProFTPD...Reading through all the docs supplied with libtrash it seems to suggest that the trash folder can only be located in the user's home folder.
This has prompted a couple of questions:
1) Having gone through the docs, I can't find a place to specify the location of the trash folder.I can specify the name of the trash folder, but it seems like it's automatically created under the user's home directory.I'm looking to have the trash folder also stored on the RAID6 partition.Because the boot/OS drive is a smaller 120GB drive, and the RAID6 is 4TB. So if someone deleted 3TB of files, the trash folder wouldn't be able to take them all as the trash folder's on the 120GB boot drive.
Is there a way to specify the absolute location of the trash folder?I'd like to have a single trash folder for all users of the machine.
2) Since this is a server, most of the daemons will be running as user nobody/samba/ whatever. Not an actual interactive user account with a home folder etc.
I have read the note about this in the docs and it seems that user nobody will need write access to the trash folder in order to put files in there.However it will rarely be the case that it's an interactive user removing files from the terminal. I'm only looking for protection if any of the server daemons remove files.
Does libtrash run in the background or is it only active when an interactive user is logged in?Since it seems libtrash is activated by a variable in /etc/profile
Is libtrash suitable for what I'm looking for?Anyone got any alternate suggestions for what I'm trying to do?Is there something I could be doing on the filesystem level? The FS of the RAID 6 array is ext3 but can always change that if there's something better out there!OS is CentOS 5.5 64bit
View 1 Replies
View Related
May 2, 2010
i use virtual hosts to develop several web applications. These are located in my home folder under /home/user/projects/project After a fresh installation, i always get a 403 forbidden error. After googling and reading on this forum, several solutions are mentioned for this problem. But i can hardly believe putting using a chmod 755 on my home folder is a correct solution. What is the correct way of doing things in this situation?
View 5 Replies
View Related
Jan 14, 2011
my ubuntu machine disk is already full, i want to set the save location of of bittorrent to a network share in windows is this possible?
View 3 Replies
View Related
Feb 19, 2011
I was trying to view a dvd on ubuntu (which works on windows) so I downloaded a few progams from the synapatic manager and software center - nothing made the dvd work but now when I go to "places" and "home folder" movie player opens and has a error message window that is at least 10 deep that says "could not open location; you might not have permission to open file." I can't get to home folder at all!Did I totally ruin Ubuntu? Is this fixable? I rebooted and that didn't help
View 3 Replies
View Related
Dec 10, 2009
I'm tring to setting up some subdomains but it won't work and I don't understand why.I've got the [URL]. Now I want to setup some subdomains for example with test.domain.de I made an entry in my http.conf which looks like this:
[Code]...
View 5 Replies
View Related
Aug 20, 2010
I'm switching internet providers and right now have service with 2. I tried switching my server over today, and ran into trouble so decided to switch it back. I got everything set up again, and it all seems to work - except for ONE of my vhosts. The others work as expected. One (the only "real" site I host) simply hangs. I am "watching" the log file, and the top-level request for "/" (sometimes) comes through and reports response code 200. But, none of the other files (images, css, etc) get requested, and the page never loads.I'm not sure where to even start. Apache is fine since the other vhosts work. I didn't make any changes to my config - except for changing the ip address in my dns. But, that's the same for all vhosts.
It may be worthwhile to note that I changed it back when I tried bringing up the site with the new ISP and it brought up my (new) modem settings with the url. I panicked and couldn't figure out how to fix it.. I thought maybe someone could have been playing with my modem settings (I was automatically logged in as administrator), so I set it back to factory settings. Then I couldn't get the internet to work at all, and changed it back to my original service. Now everything works except for the one vhost.
View 1 Replies
View Related
Dec 20, 2010
I have a friend that has a problem with his site on my server.He doesn't have any problem on other servers so I guess there's something wrong in the config that I can change.The site is in /html_doc and then he has a couple of other forlders for example, /api
View 8 Replies
View Related
Sep 24, 2009
i am getting duplicate entries in dag rpm repository with different names in different cases !
# yum search fileinfo
php-pecl-Fileinfo.x86_64 : Fileinfo is a PHP extension that wraps the libmagic library
php-pecl-fileinfo.x86_64 : PECL package to get file information through libmagic[code]....
which is the correct rpm to install ?
View 8 Replies
View Related
May 19, 2011
I have a fresh install, everythings working great, just trying to get my vhosts working, i set them up in yast, but all the requests just go to the second vhost.
View 2 Replies
View Related
Jul 13, 2010
What I want to do now is make nicmatthew.co.cc point to /var/www/nicmatthew/html and make rielworld.co.cc point to /var/www/jimriel/html. I have created the apache vHosts nicmatthew.co.cc and rielworld.co.cc containing this:
Code:
<VirtualHost 67.23.224.90:80>
ServerName nicmatthew.co.cc
ServerAlias nicmatthew.co.cc
ServerAdmin nmatthew@nicmatthew.co.cc
[Code]...
So now I would like to know how to make rielworld.co.cc and nicmatthew.co.cc point to the correct places. Do I somehow set up nameservers? Do I make an A record?
View 1 Replies
View Related