I am using:
WHM 11.32.4 (build 15)Apache 2.2.3php 5.2.14suphp 0.7.1REDHAT Enterprise 5.8 x86_64 standard
The other day I ran easyapache to install a new version of ioncube. I kept all other other settings as is.
My problem is that I have two sites that share a php installation and up until I ran the update, everything was fine.
I am following this guide to intall redmine.
It has a section on apache2 virtual host configuration.
sudo nano /etc/apache2/sites-available/mysite
<VirtualHost *:80>
ServerName my_domain.com
DocumentRoot /var/www/redmine
ServerAdmin user@example.com
LogLevel warn
ErrorLog /var/log/apache2/redmine_error
CustomLog /var/log/apache2/redmine_access combined
<Directory /var/www/redmine
I've got a question about apache2 and Virtualhosts.
I declared some in my /apache2/sites-available/ownsites
in order to get access via different domains and subdomains, for example:
<VirtualHost *:80>
ServerName www.domain1.de
ServerAlias domain1.de
DocumentRoot /var/www/domain1/
ServerAdmin myemailaddress.de
<Directory />
Order deny,allow
Heres the basics:
we've just switched host
we only have 2 sites hosted on this server, no one but me has access
on our other host, we could include and write server wide, for example:
/home/sitea could include:
<?php
include("/home/siteb/public_html/script.php");
?>
We now get errors such as:
[function.include]: failed to open stream: Permission denied in...
We could
I'm trying to add another virtualhost to an existing list of hosts (/etc/apache2/sites-availible/default).
I use Ubuntu 12.10 64 bit and I want make convenient environment for backuping of my site and it's database of real hosted site (not dedicated server).
So, I install Ubuntu and make virtual host in my home folder /home/citromon/localhost/:
Code:
mkdir localhost
cd localhost
mkdir site.by
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/phpbb.by
sudo gedit /etc/apache
I have set up a virtual box to run zf-Bolierplate. This is working. Now I would like to set up phpmyadmin on the box to administer the database, but I have run into problems.
Hi,
I have already started working with virtual hosts, and everything seemed to be alright. Actually I have only two vhosts, the default one and the one I created. I removed from them every Indexes option I found, because I dont want apache to browse my folders, and it works. It's the only change I made in the default config file.
I've just set up a aws ubuntu instance, I have apache2, mysql-server etc and have configured a vhost, added it to apache and restarted apache.
My virtual host config is:
<VirtualHost *:80>
ServerAdmin ss@ss.com
ServerName mysite.ec2-xx-xx-xx-xx.compute-1.amazonaws.com
DocumentRoot /mnt/my_site
<Directory />
Options FollowSymLinks
AllowOverride