CentOS 5 :: Copied Files Into A Virtual Host Container But Cannot Access The Site?
Sep 8, 2010
Has anyone had issues installing Drupal on centos. I have copied my files into a virtual host container but cannot access the site. When I place a phpinfo file into the folder and browes to it I see that Virtual Directory Support is "Disabled" However how did the php page get shown from the same virtual directory mm I may have asked to soon.Installing Drupal on CentOS 5/Red Hat/Fedora http://drupal.org/node/32773
View 1 Replies
ADVERTISEMENT
Oct 19, 2010
If I go to a virtual host it asks me if I want to save "index.php" (Typing in the host name followed by index.php also works). But if I go the main site it does not. This happened after an upgrade to Ubuntu 10.04
Here are some additional details - apachectl -M shows rewrite_module (shared) the host config file has AllowOverride All the dir and php5 modules are loading fine.
View 1 Replies
View Related
Jan 8, 2010
Is there anyway for one Virtual Server to access the main host, or another Virtual Server? Or would they be totally 100% independent?
View 5 Replies
View Related
Nov 22, 2010
I want to create a virtual host and virtual ip in proftpd linux centos. can anyone please help me on this,I'm new in linux.
View 8 Replies
View Related
Jun 1, 2009
I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:
In my httpd.conf file, at the very end, I have the line
Include conf/vhosts/vhost_*.conf
However, when I run apache checkconfig or try to start apache, it gives me the error:
httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied
It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.
View 3 Replies
View Related
Jan 24, 2011
I've just installed LAMP. http://localhost/ page works fine. I need to create some virtual hosts. Localhost page is situated in /var/www/. It's normal for me, and I wanted to created virtualhost (in /var/www/vhost1) But it doesn't open in browser. Where is my mistake?
/etc/apache2/ports.conf
Code:
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
[Code]...
View 7 Replies
View Related
Jan 29, 2010
CentOS 5.4 install, likewise open standard install (For active directory authentication).I have a license service which requires a license.txt be in the users home directory.The group owner for license.txt must be the same as the license service. Whenever a new domain user logs in, it creates the all the appropriate files but the group owner for license.txt is the users domain group. My current workaround seems like more effort than it's worth, is there another way to get this process solved easier/more secure?
- copy the license.txt into /etc/skel
- created a script to check for the presence of license.txt, check it's permissions and change them if necessary
- gave the domain's group sudo [nopasswd] access to the script (the script is not writable)
- execute the script in /etc/bashrc
View 1 Replies
View Related
Jul 9, 2011
I've installed VirtualBox OSE and have a couple of guest OS setup. I am running Ubuntu 11.04 and VBOSE version 4.x (the most current). Now this installs the guest OS virtual harddrives to a folder in my home directory. How do I get other users on the same host machine access to those virtual machines within VB? Currently logging in as another user and going to Applications/Accessories/VirtualBox OSE ... the list of guest machines is empty save of course on my login.
View 3 Replies
View Related
Apr 15, 2011
I am trying to access shared folders in Virtual Box with Host OS being Windows7 and Guest OS is Fedora. Did anyone face a similar problem? I have been going through many solutions but none of them worked out. I am able to keep the required folders in Shared Folders making them Auto-Mount and Permanent. I tried to install Guest Additions from Devices, but I am not sure how to install the Guest-Additions software in Fedora. how to proceed so that I can access files in my shared folder.
View 1 Replies
View Related
Aug 31, 2010
How can I run LAMP (Linux, Apache, MySQL, PHP) in a virtual machine (Ubuntu in virtual box) and make it so the web server is accessible locally (and ONLY locally) on the host OS via an ip address?
View 3 Replies
View Related
Apr 20, 2010
I'm not sure is this is possible or not, but what I would like to do is take my public address mydomain.com and configure a virtual host something.mydomain.com only instead of having the content on the same server I would like it to point to the IP of my virtual machine that is in my private network and display that page publicly. Does anyone know if this is possible, or how to do it? I have done this with port forwards, but would like them both to be on the same port.
View 3 Replies
View Related
May 19, 2011
I am running Debian under virtual container. I need to set max size of directory for each of vsftpd virtual users - because they are virtual, I cannot use user quotas. I was wondering, if I could create images with filesystem and mount them, but I cannot access /dev/loop device from container. Is there any other way, how to set max directory size in virtual container
View 2 Replies
View Related
Oct 31, 2009
I have a WindowsXP virtual machine which I need to isolate from the host machine completely (have the host act as a bridge but not be visible on the IP layer at all.) It still needs to have Internet access. Obviously it has to be able to contact the router but I would like to be able to block port 80 (or even just block all SYN packets addressed to the router.) I also want to allow port forwarding from the router to the virtual machine. I can use basic iptables but this is way beyond me.
The host OS is probably going to be Debian Lenny but this is not built yet so if someone can recommend a different distro which is as lightweight as possible but will support VMWare, iptables and tcpdump then that would be great. I was thinking of Slackware but I have not used it in ages and from what I can remember their is no real package management.
View 1 Replies
View Related
Nov 10, 2010
i have linux server application based on centos 5 that run httpd daemon from /usr/local/pf/conf/httpd.conf which is generated from the /usr/local/pf/conf/templates/httpd.conf.apache22 file
the problem is every time i run my linux server application i am not able to access phpmyadmin unless i stop my linux server application which is stop it httpd daemon then start "service httpd start"
i have been told by forum moderator to create an alias for my phpmyadmin in Virtual Host but it stil dont work, i am not able access my phpmyadmin site
this is what i have done to solve this problem
- open /usr/local/pf/conf/templates/httpd.conf.apache22 file then look for <VirtualHost *:%%admin_port%%>
- add Alias /phpmyadmin "/usr/share/phpmyadmin" (Failed)
- add Alias /phpmyadmin /usr/share/phpmyadmin (Failed)
- add Alias /phpmyadmin "/usr/share/phpmyadmin/" (Failed)
[Code]....
NB : my phpmyadmin is install on /usr/share/phpmyadmin with /etc/httpd/conf.d/phpmyadmin.conf as phpmyadmin configuration file
why i still cant open my phpmyadmin site ? or why i cant run phpmyadmin together with my linux server application because it use the same daemon (httpd daemon)
View 1 Replies
View Related
Jan 16, 2011
I had made following entries in my httpd.conf file at centos5.5.
###########################
Listen 80
Listen 8080
Listen 8085[code]....
When i am trying to access the any directory other on port *80, its not being accessible from the static ip which is routed through a DMZ server. http://122.165.35.9:8085 something like this returns the error "could not connect to web browser"
View 3 Replies
View Related
Jan 28, 2010
host Fedora 12 64bit
KVM virtualization software
I have 8 VMs on this virtual machine running different OS. Can VMs be moved/copied to another PC of similar hardware config running Fedora 12 (64bit) as host and KVM
If Yes, whether copying following files,
e.g. copying following files and paste them on the same /path/to/directory
[root@fedora12 satimis]# ls -l /etc/libvirt/qemu/
Code:
total 52
...
-rw------- 1 root root 1293 2010-01-14 22:48 vm01.xml
-rw------- 1 root root 1293 2010-01-11 17:19 vm02.xml
-rw------- 1 root root 1302 2010-01-11 19:11 vm03_ub9164.xml
[Code]....
View 6 Replies
View Related
Mar 20, 2011
I created a Virtual WebServer (I used CentOS as guest) by using VirtualBox to test my website. When I typed "/sbin/ifconfig" to get "inet addr" it showed 192.168.56.101. I used a web browser from my host (Fedora 14 GNOME) to access 192.168.56.101. It was good, It displayed "Apache 2 Test Page". But I accessed 192.168.56.101/mysite it redirected to 127.0.0.1/mysite and showed error page.
View 1 Replies
View Related
Oct 15, 2009
is it possible to use yum in any way when a computer is not connected to the internet(but when full install media is available; for example the dvd)? Or should I resolve all dependencies manually using rpm?
View 6 Replies
View Related
Oct 30, 2009
Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.
View 1 Replies
View Related
Jul 3, 2009
apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.
View 1 Replies
View Related
Apr 21, 2010
I'm having an issue with setting up the virtual hosts on my web server. I have 2 virtual hosts (example1.com, example2.com). example1.com works but example2.com is sent to the index file of example1.com. I did some searching on google and it seems the problem might be with my /etc/hosts file.
First virtual host that the second is also directed to...in sites-available/sites-enabled (note port 80 is blocked by my isp so I use 8080)
Code:
Second virtual host file
Code:
And my hosts file
Code:
# The following lines are desirable for IPv6 capable hosts
Also I'm using a dyndns.org...would that make a difference?
View 2 Replies
View Related
Feb 18, 2010
In the office there is a local network with samba+openldap PDC. The local domain name is company.net. The company desided to create a corporate Website on a remote hosting and desided that the site's domain should be company.net which is same as local network's domain name. So now it is not possible to reach that corporate website from within the company's local network because, as I guess, bind9 which is installed on above menioned PDC looks for company.net on a local webserver. Is there a possibility to let people from this local network browse the remote site?
View 1 Replies
View Related
May 4, 2011
i have been trying to host a site with lampp in ubuntu and i am pretty lost and sick of all the error messages, maby somone could give me a step by step guide how to do it. or got a bether option ?
View 8 Replies
View Related
Nov 9, 2010
I have installed Apache on RHEL 5 ( my personal machine)Now i want to host web site on it for my personal use. Please tell me the step how to do this ?
View 3 Replies
View Related
Mar 24, 2010
I have a Ubuntu Server that is correctly set up and has been working for awhile. It currently has a domain (Registered by GoDaddy) and it is used as the main. I just bought another domain (From GoDaddy) and I want it to connect to the same server but a different section to host a second site completely separate from the first.
So this is how I want it to be setup:
Domain1 = /var/www/
Domain2 = /var/www/website2
When I put Domain1 in the url like www.domain1.com it will connect to /var/www/
When I put Domain2 in the url like www.domain2.com it will connect to /var/www/website2
View 2 Replies
View Related
Mar 1, 2011
So everytime i try and use the "yum" command. for some reason it doesn't go past this point: "loading mirror speeds from cached host files". i cleaned up the cache and rebuilt the OS again, and im still getting this problem. would this be a problem with my internet connection? I'm using CentOS 5.5.
View 1 Replies
View Related
Feb 9, 2010
Have no idea what I am doing operating a server. Our programmer got a new job and I am the one who has to take it over. Everything was fine til yesterday. You see I made a control panel to easier update the site www(dot)discoverysound(dot)com
but yesterday when I went to update the site I got an error called fopen. I thought I fixed it (and boy did I ever) but now I cannot get to my site because it says Forbidden You don't have permission to access / on this server. Apache/2.0.47 (Unix) mod_ssl/2.0.47 OpenSSL/0.9.7a DAV/2 PHP/4.3.3RC4-dev Server at www(dot)discoverysound(dot)comPort 80.
View 2 Replies
View Related
Dec 3, 2008
I have ubuntu-8.04.1-server installed on virtual machine. It works perfect. Now, I made copy of this virtual machine. I started that copied machine and it works fine, except one thing: network does not work!
I have several others VMs with freeBSD, openBSD or Windows on it, but only ubuntu machine hes network problem after coping. I tried some other VM with ubuntu on it - same problem! I downloaded VM with ubuntu - same problem.I take a look into /etc/network/interfaces file and it looks just as it should (same as before coping) but ifconfig command returns parameters for lo only (before coping there was eth0 and lo).
View 2 Replies
View Related
Jun 17, 2010
Is it possible to use ubuntu 10.04 lts desktop version as a web host for a production site?. If it is possible, can anyone give me links on how to do it?
View 5 Replies
View Related
May 29, 2011
It is possible for apache2 (debian) to host a frontpage page? All links I found from google and microsoft said that frontpage is dead. How can I host the site ?
View 4 Replies
View Related